Fix #35
This commit is contained in:
parent
1353177f65
commit
995a11ceb9
@ -30,7 +30,9 @@ public class KCauldronClassTransformer implements Transformer {
|
|||||||
@Override
|
@Override
|
||||||
public void transform(final ImagineASM asm) {
|
public void transform(final ImagineASM asm) {
|
||||||
if (asm.is("net.minecraft.world.gen.ChunkProviderServer")
|
if (asm.is("net.minecraft.world.gen.ChunkProviderServer")
|
||||||
|| asm.is("net.minecraftforge.common.chunkio.ChunkIOProvider")) {
|
|| asm.is("net.minecraftforge.common.chunkio.ChunkIOProvider")
|
||||||
|
|| asm.is("org.bukkit.craftbukkit.CraftWorld")
|
||||||
|
|| asm.is("org.bukkit.craftbukkit.v1_7_R4.CraftWorld")) {
|
||||||
FMLLog.log(Level.INFO, "KCauldron: Patching " + asm.getActualName() + " for compatibility with Mystcraft");
|
FMLLog.log(Level.INFO, "KCauldron: Patching " + asm.getActualName() + " for compatibility with Mystcraft");
|
||||||
ClassReader reader = new ClassReader(asm.build());
|
ClassReader reader = new ClassReader(asm.build());
|
||||||
ClassWriter writer = new ClassWriter(ClassWriter.COMPUTE_MAXS);
|
ClassWriter writer = new ClassWriter(ClassWriter.COMPUTE_MAXS);
|
||||||
|
Loading…
Reference in New Issue
Block a user