aboutsummaryrefslogtreecommitdiff
path: root/src/main/java
diff options
context:
space:
mode:
authorNopoTheGamer <40329022+NopoTheGamer@users.noreply.github.com>2022-10-15 12:46:30 +0000
committerGitHub <noreply@github.com>2022-10-15 14:46:30 +0200
commit42db45e304100b0cb523a77ba0a4eeabb8643f40 (patch)
treea27a93c67f90c53ade69842457033049409434ac /src/main/java
parentc1e711d270693e198781f3b6591f95c14eb5a6d1 (diff)
downloadNotEnoughUpdates-42db45e304100b0cb523a77ba0a4eeabb8643f40.tar.gz
NotEnoughUpdates-42db45e304100b0cb523a77ba0a4eeabb8643f40.tar.bz2
NotEnoughUpdates-42db45e304100b0cb523a77ba0a4eeabb8643f40.zip
Disable neu hax when not in skyblock (#373)
Less cheat mod
Diffstat (limited to 'src/main/java')
-rw-r--r--src/main/java/io/github/moulberry/notenoughupdates/listener/ChatListener.java2
1 files changed, 1 insertions, 1 deletions
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(