diff --git a/src/main/java/glowredman/txloader/MinecraftClassTransformer.java b/src/main/java/glowredman/txloader/MinecraftClassTransformer.java index 0dd37ee..354045c 100644 --- a/src/main/java/glowredman/txloader/MinecraftClassTransformer.java +++ b/src/main/java/glowredman/txloader/MinecraftClassTransformer.java @@ -26,7 +26,7 @@ private static byte[] transformMinecraft(byte[] basicClass) { final boolean devEnv = (boolean) Launch.blackboard.get("fml.deobfuscatedEnvironment"); final ClassNode classNode = new ClassNode(); final ClassReader classReader = new ClassReader(basicClass); - classReader.accept(classNode, ClassReader.SKIP_DEBUG); + classReader.accept(classNode, 0); final String targetMethodName = devEnv ? "refreshResources" : "func_110436_a"; final String targetMethodInsnName = devEnv ? "reloadResources" : "func_110541_a"; boolean success = false;