From cd6ad90b00ae3e8ff7fceeaef2e37729aeffb508 Mon Sep 17 00:00:00 2001 From: Empa <42304516+ItsEmpa@users.noreply.github.com> Date: Thu, 4 Apr 2024 20:17:37 +0200 Subject: Fix: Pest Profit Tracker Coins (#1358) --- .../at/hannibal2/skyhanni/features/garden/pests/PestProfitTracker.kt | 1 + 1 file changed, 1 insertion(+) (limited to 'src/main/java') diff --git a/src/main/java/at/hannibal2/skyhanni/features/garden/pests/PestProfitTracker.kt b/src/main/java/at/hannibal2/skyhanni/features/garden/pests/PestProfitTracker.kt index 9ba0da2e7..c3c768044 100644 --- a/src/main/java/at/hannibal2/skyhanni/features/garden/pests/PestProfitTracker.kt +++ b/src/main/java/at/hannibal2/skyhanni/features/garden/pests/PestProfitTracker.kt @@ -133,6 +133,7 @@ object PestProfitTracker { fun onPurseChange(event: PurseChangeEvent) { if (!isEnabled()) return val coins = event.coins + if (coins > 1000) return if (event.reason == PurseChangeCause.GAIN_MOB_KILL && lastPestKillTime.passedSince() < 2.seconds) { tracker.addCoins(coins.toInt()) } -- cgit