Skip to content

Commit

Permalink
Merge pull request #10 from GTNewHorizons/asm
Browse files Browse the repository at this point in the history
don't use SKIP_DEBUG
  • Loading branch information
Dream-Master authored Oct 13, 2023
2 parents 6332bb5 + 697acde commit c1e442b
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit c1e442b

Please sign in to comment.