From c11ead7ec679da968acdb1118cce89e9b092b160 Mon Sep 17 00:00:00 2001 From: Suli Date: Tue, 1 Dec 2020 17:26:46 -0500 Subject: [PATCH] Corrected click position patch when in tutorial island --- src/Client/JClassPatcher.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Client/JClassPatcher.java b/src/Client/JClassPatcher.java index fdebee24..20eeec70 100644 --- a/src/Client/JClassPatcher.java +++ b/src/Client/JClassPatcher.java @@ -2910,13 +2910,13 @@ else if (pos == 1) { && ((IincInsnNode) insnNode).incr == 35) { targetNode = insnNode; while (targetNode.getOpcode() != Opcodes.IINC - && ((IincInsnNode) insnNode).incr == 5) { + || ((IincInsnNode) targetNode).incr != 5) { // start section of click for skip tutorial targetNode = targetNode.getNext(); } while (targetNode.getOpcode() != Opcodes.IINC - && ((IincInsnNode) insnNode).incr == 15) { + || ((IincInsnNode) targetNode).incr != 15) { // end section of click for skip tutorial targetNode = targetNode.getNext(); }