aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/at
diff options
context:
space:
mode:
authorhannibal2 <24389977+hannibal00212@users.noreply.github.com>2023-07-16 18:22:11 +0200
committerhannibal2 <24389977+hannibal00212@users.noreply.github.com>2023-07-16 18:22:11 +0200
commitb45fd460c0a91de19fa7cc6e95b4987e9cdc25d5 (patch)
tree06efd8fb7c8ee8e4c4155424d99fad4874eb7a0c /src/main/java/at
parentf72cfa992591ec7fa3c8e5e72bbffb030c63c45e (diff)
downloadskyhanni-b45fd460c0a91de19fa7cc6e95b4987e9cdc25d5.tar.gz
skyhanni-b45fd460c0a91de19fa7cc6e95b4987e9cdc25d5.tar.bz2
skyhanni-b45fd460c0a91de19fa7cc6e95b4987e9cdc25d5.zip
rng dicer chat hider now works without enabling drop counter
Diffstat (limited to 'src/main/java/at')
-rw-r--r--src/main/java/at/hannibal2/skyhanni/features/garden/farming/DicerRngDropCounter.kt3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/main/java/at/hannibal2/skyhanni/features/garden/farming/DicerRngDropCounter.kt b/src/main/java/at/hannibal2/skyhanni/features/garden/farming/DicerRngDropCounter.kt
index b447969f5..9f83b2283 100644
--- a/src/main/java/at/hannibal2/skyhanni/features/garden/farming/DicerRngDropCounter.kt
+++ b/src/main/java/at/hannibal2/skyhanni/features/garden/farming/DicerRngDropCounter.kt
@@ -76,7 +76,8 @@ class DicerRngDropCounter {
@SubscribeEvent
fun onChat(event: LorenzChatEvent) {
- if (!isEnabled()) return
+ if (!GardenAPI.inGarden()) return
+ if (!config.dicerCounterHideChat && !config.dicerCounterDisplay) return
val message = event.message
for (drop in itemDrops) {