aboutsummaryrefslogtreecommitdiff
path: root/src/main
diff options
context:
space:
mode:
authorbowser0000 <bowser0000@gmail.com>2022-02-25 22:46:55 -0500
committerbowser0000 <bowser0000@gmail.com>2022-02-25 22:46:55 -0500
commit4f89ebe884e37084eb2088087f2bb378ccb84020 (patch)
tree847b0959f61247d868adcc12d66273877cfc5ef7 /src/main
parent787a6e81bac1fdae10f1efad5e3726f97f952e3e (diff)
downloadSkyblockMod-4f89ebe884e37084eb2088087f2bb378ccb84020.tar.gz
SkyblockMod-4f89ebe884e37084eb2088087f2bb378ccb84020.tar.bz2
SkyblockMod-4f89ebe884e37084eb2088087f2bb378ccb84020.zip
Fix chronomatron solver
Diffstat (limited to 'src/main')
-rw-r--r--src/main/java/me/Danker/features/puzzlesolvers/ChronomatronSolver.java2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/main/java/me/Danker/features/puzzlesolvers/ChronomatronSolver.java b/src/main/java/me/Danker/features/puzzlesolvers/ChronomatronSolver.java
index 52da0ec..7293f51 100644
--- a/src/main/java/me/Danker/features/puzzlesolvers/ChronomatronSolver.java
+++ b/src/main/java/me/Danker/features/puzzlesolvers/ChronomatronSolver.java
@@ -45,8 +45,10 @@ public class ChronomatronSolver {
if (chronomatronPattern.size() > chronomatronMouseClicks && !item.getDisplayName().equals(chronomatronPattern.get(chronomatronMouseClicks))) {
if (event.isCancelable() && !Keyboard.isKeyDown(Keyboard.KEY_LCONTROL) && !Keyboard.isKeyDown(Keyboard.KEY_RCONTROL)) {
event.setCanceled(true);
+ return;
}
}
+ chronomatronMouseClicks++;
} else if (inventory.getStackInSlot(49).getDisplayName().startsWith("§aRemember the pattern!")) {
if (event.isCancelable()) event.setCanceled(true);
}