diff options
author | Empa <42304516+ItsEmpa@users.noreply.github.com> | 2024-04-04 20:17:37 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-04-04 20:17:37 +0200 |
commit | cd6ad90b00ae3e8ff7fceeaef2e37729aeffb508 (patch) | |
tree | 920dc3f5c16c61af115b508c8f5eaf842908d186 /src/main/java | |
parent | 82f1db03538817fbb1cb56a492149759d855d0a7 (diff) | |
download | skyhanni-cd6ad90b00ae3e8ff7fceeaef2e37729aeffb508.tar.gz skyhanni-cd6ad90b00ae3e8ff7fceeaef2e37729aeffb508.tar.bz2 skyhanni-cd6ad90b00ae3e8ff7fceeaef2e37729aeffb508.zip |
Fix: Pest Profit Tracker Coins (#1358)
Diffstat (limited to 'src/main/java')
-rw-r--r-- | src/main/java/at/hannibal2/skyhanni/features/garden/pests/PestProfitTracker.kt | 1 |
1 files changed, 1 insertions, 0 deletions
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()) } |