From 42db45e304100b0cb523a77ba0a4eeabb8643f40 Mon Sep 17 00:00:00 2001 From: NopoTheGamer <40329022+NopoTheGamer@users.noreply.github.com> Date: Sat, 15 Oct 2022 12:46:30 +0000 Subject: Disable neu hax when not in skyblock (#373) Less cheat mod --- .../io/github/moulberry/notenoughupdates/listener/ChatListener.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/main') diff --git a/src/main/java/io/github/moulberry/notenoughupdates/listener/ChatListener.java b/src/main/java/io/github/moulberry/notenoughupdates/listener/ChatListener.java index de37b976..3473124c 100644 --- a/src/main/java/io/github/moulberry/notenoughupdates/listener/ChatListener.java +++ b/src/main/java/io/github/moulberry/notenoughupdates/listener/ChatListener.java @@ -214,7 +214,7 @@ public class ChatListener { SlayerOverlay.unloadOverlayTimer = System.currentTimeMillis(); } else if (unformatted.startsWith("You consumed a Booster Cookie!")) { CookieWarning.resetNotification(); - } else if (unformatted.startsWith("QUICK MATHS! Solve:")) { + } else if (unformatted.startsWith("QUICK MATHS! Solve:") && NotEnoughUpdates.INSTANCE.hasSkyblockScoreboard()) { if (Math.random() < 0.2) { if (NotEnoughUpdates.INSTANCE.config.misc.calculationMode == 2) { ClientCommandHandler.instance.executeCommand( -- cgit