diff options
author | My-Name-Is-Jeff <37018278+My-Name-Is-Jeff@users.noreply.github.com> | 2020-12-05 21:21:43 -0500 |
---|---|---|
committer | My-Name-Is-Jeff <37018278+My-Name-Is-Jeff@users.noreply.github.com> | 2020-12-05 21:21:43 -0500 |
commit | 03a06f3a6a2ac190a3775ea0781d2d6fbc00b1c8 (patch) | |
tree | 6187259d954c7ee2582235c3d4bbbda7b4d50472 | |
parent | c8c49fa551a4c5867a43d4b13aa4d5d78dfe87dd (diff) | |
download | SkyblockMod-03a06f3a6a2ac190a3775ea0781d2d6fbc00b1c8.tar.gz SkyblockMod-03a06f3a6a2ac190a3775ea0781d2d6fbc00b1c8.tar.bz2 SkyblockMod-03a06f3a6a2ac190a3775ea0781d2d6fbc00b1c8.zip |
Revert "Remove unnecessary code"
This reverts commit ac5ff849332ab6817dabb06bfc7c511f3442b9f6.
-rw-r--r-- | src/main/java/me/Danker/DankersSkyblockMod.java | 3 |
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; } } |