Skip to content

Commit

Permalink
Corrected click position patch when in tutorial island
Browse files Browse the repository at this point in the history
  • Loading branch information
Suli committed Dec 1, 2020
1 parent f8f6891 commit c11ead7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Client/JClassPatcher.java
Original file line number Diff line number Diff line change
Expand Up @@ -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();
}
Expand Down

0 comments on commit c11ead7

Please sign in to comment.