diff options
author | alemi <me@alemi.dev> | 2023-03-04 03:48:03 +0100 |
---|---|---|
committer | alemi <me@alemi.dev> | 2023-03-04 03:48:03 +0100 |
commit | 00cf2570e37c3101798224ea6e6f918fa7db60e2 (patch) | |
tree | 79c185026790e5599325e6929b8a41870cfef3d3 /src | |
parent | 8b6a696b050aae4a17140980e555bb3dffd18d70 (diff) |
chore: removed debug prints
Diffstat (limited to 'src')
-rw-r--r-- | src/main/java/ftbsc/bscv/patches/PortalGuiPatch.java | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/src/main/java/ftbsc/bscv/patches/PortalGuiPatch.java b/src/main/java/ftbsc/bscv/patches/PortalGuiPatch.java index d86acfc..7a36e8e 100644 --- a/src/main/java/ftbsc/bscv/patches/PortalGuiPatch.java +++ b/src/main/java/ftbsc/bscv/patches/PortalGuiPatch.java @@ -11,7 +11,6 @@ import ftbsc.lll.processor.annotations.Injector; import ftbsc.lll.processor.annotations.Patch; import ftbsc.lll.processor.annotations.Target; import ftbsc.lll.tools.PatternMatcher; -import ftbsc.lll.tools.debug.BytecodePrinter; import net.minecraft.client.entity.player.ClientPlayerEntity; @Patch(value = ClientPlayerEntity.class, reason = "prevent minecraft from force closing guis when entering portals") @@ -23,8 +22,6 @@ public abstract class PortalGuiPatch implements Opcodes { public void inject(ClassNode clazz, MethodNode main) { LabelNode skip = new LabelNode(); - System.out.println("Finding first pattern"); - // BytecodePrinter.printAsmMethod(main); AbstractInsnNode found = PatternMatcher.builder() .opcodes(ALOAD, GETFIELD, IFEQ) .ignoreFrames() @@ -34,7 +31,6 @@ public abstract class PortalGuiPatch implements Opcodes { .find(main) .getLast(); - System.out.println("Finding second pattern"); AbstractInsnNode after = PatternMatcher.builder() .opcodes(GETFIELD, ACONST_NULL, CHECKCAST, INVOKEVIRTUAL) .ignoreFrames() @@ -46,8 +42,6 @@ public abstract class PortalGuiPatch implements Opcodes { main.instructions.insert(found, new JumpInsnNode(GOTO, skip)); main.instructions.insert(after, skip); - - BytecodePrinter.printAsmMethod(main); } } |