From 697acdea7c5c4ed7c8adea0dcde4dbccde16333c Mon Sep 17 00:00:00 2001 From: Alexdoru <57050655+Alexdoru@users.noreply.github.com> Date: Fri, 13 Oct 2023 16:13:07 +0200 Subject: [PATCH] don't use SKIP_DEBUG --- .../java/glowredman/txloader/MinecraftClassTransformer.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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;