diff options
author | hannibal2 <24389977+hannibal00212@users.noreply.github.com> | 2023-07-16 18:22:11 +0200 |
---|---|---|
committer | hannibal2 <24389977+hannibal00212@users.noreply.github.com> | 2023-07-16 18:22:11 +0200 |
commit | b45fd460c0a91de19fa7cc6e95b4987e9cdc25d5 (patch) | |
tree | 06efd8fb7c8ee8e4c4155424d99fad4874eb7a0c | |
parent | f72cfa992591ec7fa3c8e5e72bbffb030c63c45e (diff) | |
download | skyhanni-b45fd460c0a91de19fa7cc6e95b4987e9cdc25d5.tar.gz skyhanni-b45fd460c0a91de19fa7cc6e95b4987e9cdc25d5.tar.bz2 skyhanni-b45fd460c0a91de19fa7cc6e95b4987e9cdc25d5.zip |
rng dicer chat hider now works without enabling drop counter
-rw-r--r-- | src/main/java/at/hannibal2/skyhanni/features/garden/farming/DicerRngDropCounter.kt | 3 |
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) { |