diff options
author | alexia <me@alexia.lol> | 2024-01-01 14:34:54 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-01-01 14:34:54 +0100 |
commit | b73dc04ab3e1a84406d9a6564ca628b29fc555e1 (patch) | |
tree | 255560955d40b8321f27599c4538a245ce1730a2 /src | |
parent | ee59317f888672844f91dce3cb7fa22a66c895eb (diff) | |
download | skyhanni-b73dc04ab3e1a84406d9a6564ca628b29fc555e1.tar.gz skyhanni-b73dc04ab3e1a84406d9a6564ca628b29fc555e1.tar.bz2 skyhanni-b73dc04ab3e1a84406d9a6564ca628b29fc555e1.zip |
Fix mushroom counter when farming sugar cane/cactus with Mooshroom Cow (#859)
Fixed mushroom counter when farming sugar cane/cactus with Mooshroom Cow. #859
Diffstat (limited to 'src')
-rw-r--r-- | src/main/java/at/hannibal2/skyhanni/features/garden/farming/GardenCropSpeed.kt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/at/hannibal2/skyhanni/features/garden/farming/GardenCropSpeed.kt b/src/main/java/at/hannibal2/skyhanni/features/garden/farming/GardenCropSpeed.kt index a21f57698..d44dcf359 100644 --- a/src/main/java/at/hannibal2/skyhanni/features/garden/farming/GardenCropSpeed.kt +++ b/src/main/java/at/hannibal2/skyhanni/features/garden/farming/GardenCropSpeed.kt @@ -42,7 +42,7 @@ object GardenCropSpeed { fixedRateTimer(name = "skyhanni-crop-milestone-speed", period = 1000L) { if (isEnabled()) { if (GardenAPI.mushroomCowPet) { - CropType.MUSHROOM.setCounter(CropType.MUSHROOM.getCounter() + blocksBroken) + CropType.MUSHROOM.setCounter(CropType.MUSHROOM.getCounter() + blocksBroken * (lastBrokenCrop?.multiplier ?: 1)) } checkSpeed() update() |