From 03a06f3a6a2ac190a3775ea0781d2d6fbc00b1c8 Mon Sep 17 00:00:00 2001 From: My-Name-Is-Jeff <37018278+My-Name-Is-Jeff@users.noreply.github.com> Date: Sat, 5 Dec 2020 21:21:43 -0500 Subject: Revert "Remove unnecessary code" This reverts commit ac5ff849332ab6817dabb06bfc7c511f3442b9f6. --- src/main/java/me/Danker/DankersSkyblockMod.java | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src') 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; } } -- cgit