From 995a11ceb948822b1710a7674b4567f3da920c8d Mon Sep 17 00:00:00 2001 From: Prototik Date: Tue, 9 Jun 2015 12:21:50 +0700 Subject: [PATCH] Fix #35 --- src/main/java/kcauldron/KCauldronClassTransformer.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/main/java/kcauldron/KCauldronClassTransformer.java b/src/main/java/kcauldron/KCauldronClassTransformer.java index 0de4db8..78e29ce 100644 --- a/src/main/java/kcauldron/KCauldronClassTransformer.java +++ b/src/main/java/kcauldron/KCauldronClassTransformer.java @@ -30,7 +30,9 @@ public class KCauldronClassTransformer implements Transformer { @Override public void transform(final ImagineASM asm) { 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"); ClassReader reader = new ClassReader(asm.build()); ClassWriter writer = new ClassWriter(ClassWriter.COMPUTE_MAXS);