From b45fd460c0a91de19fa7cc6e95b4987e9cdc25d5 Mon Sep 17 00:00:00 2001 From: hannibal2 <24389977+hannibal00212@users.noreply.github.com> Date: Sun, 16 Jul 2023 18:22:11 +0200 Subject: rng dicer chat hider now works without enabling drop counter --- .../hannibal2/skyhanni/features/garden/farming/DicerRngDropCounter.kt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/main/java/at') 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) { -- cgit