aboutsummaryrefslogtreecommitdiff
path: root/src/main/java
diff options
context:
space:
mode:
authorMy-Name-Is-Jeff <37018278+My-Name-Is-Jeff@users.noreply.github.com>2020-12-05 21:21:43 -0500
committerMy-Name-Is-Jeff <37018278+My-Name-Is-Jeff@users.noreply.github.com>2020-12-05 21:21:43 -0500
commit03a06f3a6a2ac190a3775ea0781d2d6fbc00b1c8 (patch)
tree6187259d954c7ee2582235c3d4bbbda7b4d50472 /src/main/java
parentc8c49fa551a4c5867a43d4b13aa4d5d78dfe87dd (diff)
downloadSkyblockMod-03a06f3a6a2ac190a3775ea0781d2d6fbc00b1c8.tar.gz
SkyblockMod-03a06f3a6a2ac190a3775ea0781d2d6fbc00b1c8.tar.bz2
SkyblockMod-03a06f3a6a2ac190a3775ea0781d2d6fbc00b1c8.zip
Revert "Remove unnecessary code"
This reverts commit ac5ff849332ab6817dabb06bfc7c511f3442b9f6.
Diffstat (limited to 'src/main/java')
-rw-r--r--src/main/java/me/Danker/DankersSkyblockMod.java3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/main/java/me/Danker/DankersSkyblockMod.java b/src/main/java/me/Danker/DankersSkyblockMod.java
index 174581d..694294a 100644
--- a/src/main/java/me/Danker/DankersSkyblockMod.java
+++ b/src/main/java/me/Danker/DankersSkyblockMod.java
@@ -2885,6 +2885,9 @@ public class DankersSkyblockMod
return;
}
chronomatronMouseClicks++;
+ } else if(inventory.getStackInSlot(49).getDisplayName().startsWith("§aRemember the pattern!")) {
+ if(event.isCancelable()) event.setCanceled(true);
+ return;
}
}