From b73dc04ab3e1a84406d9a6564ca628b29fc555e1 Mon Sep 17 00:00:00 2001 From: alexia Date: Mon, 1 Jan 2024 14:34:54 +0100 Subject: Fix mushroom counter when farming sugar cane/cactus with Mooshroom Cow (#859) Fixed mushroom counter when farming sugar cane/cactus with Mooshroom Cow. #859 --- .../at/hannibal2/skyhanni/features/garden/farming/GardenCropSpeed.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') 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() -- cgit