aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoringle <inglettronald@gmail.com>2022-09-24 02:15:15 -0500
committeringle <inglettronald@gmail.com>2022-09-24 02:15:15 -0500
commit442926d9bcea191ac4f852d3d0770288c2a5bca7 (patch)
tree1461cff6bc5a5882fe965644826992645eb87c2a
parent5952f3ec85cb5d8eac825abcfe77ec4117150517 (diff)
downloadDulkirMod-442926d9bcea191ac4f852d3d0770288c2a5bca7.tar.gz
DulkirMod-442926d9bcea191ac4f852d3d0770288c2a5bca7.tar.bz2
DulkirMod-442926d9bcea191ac4f852d3d0770288c2a5bca7.zip
fixed text that triggers throttle notifier lol
-rw-r--r--src/main/kotlin/dulkirmod/events/ChatEvent.kt2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/kotlin/dulkirmod/events/ChatEvent.kt b/src/main/kotlin/dulkirmod/events/ChatEvent.kt
index 898e2e7..03f8dd8 100644
--- a/src/main/kotlin/dulkirmod/events/ChatEvent.kt
+++ b/src/main/kotlin/dulkirmod/events/ChatEvent.kt
@@ -12,7 +12,7 @@ class ChatEvent {
return
}
val unformatted = stripColorCodes(event.message.unformattedText)
- if (unformatted == "Warping you to your SkyBlock island..." && DulkirMod.config.throttleNotifier) {
+ if (unformatted == "This menu has been throttled! Please slow down..." && DulkirMod.config.throttleNotifier) {
event.isCanceled = true;
DulkirMod.mc.thePlayer.sendChatMessage("/pc " + DulkirMod.config.customMessage)
}