aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/at/hannibal2
diff options
context:
space:
mode:
authoralexia <me@alexia.lol>2024-01-01 14:34:54 +0100
committerGitHub <noreply@github.com>2024-01-01 14:34:54 +0100
commitb73dc04ab3e1a84406d9a6564ca628b29fc555e1 (patch)
tree255560955d40b8321f27599c4538a245ce1730a2 /src/main/java/at/hannibal2
parentee59317f888672844f91dce3cb7fa22a66c895eb (diff)
downloadskyhanni-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/main/java/at/hannibal2')
-rw-r--r--src/main/java/at/hannibal2/skyhanni/features/garden/farming/GardenCropSpeed.kt2
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()