aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorhannibal2 <24389977+hannibal00212@users.noreply.github.com>2023-11-19 18:32:32 +0100
committerhannibal2 <24389977+hannibal00212@users.noreply.github.com>2023-11-19 18:32:32 +0100
commitb8fd0617f3debc9445693bad3289c102e880879c (patch)
treeb52dfb7150e71940a1420efbe2763466f9238d80 /src
parent375c0ec15a0a13610be1169e21c4be42c742d5b8 (diff)
downloadskyhanni-b8fd0617f3debc9445693bad3289c102e880879c.tar.gz
skyhanni-b8fd0617f3debc9445693bad3289c102e880879c.tar.bz2
skyhanni-b8fd0617f3debc9445693bad3289c102e880879c.zip
0.21.1 Beta 5
Diffstat (limited to 'src')
-rw-r--r--src/main/java/at/hannibal2/skyhanni/SkyHanniMod.kt2
-rw-r--r--src/main/java/at/hannibal2/skyhanni/features/garden/farming/GardenCropMilestoneDisplay.kt2
2 files changed, 3 insertions, 1 deletions
diff --git a/src/main/java/at/hannibal2/skyhanni/SkyHanniMod.kt b/src/main/java/at/hannibal2/skyhanni/SkyHanniMod.kt
index 4a84c8823..085b6fcd8 100644
--- a/src/main/java/at/hannibal2/skyhanni/SkyHanniMod.kt
+++ b/src/main/java/at/hannibal2/skyhanni/SkyHanniMod.kt
@@ -331,7 +331,7 @@ import org.apache.logging.log4j.Logger
clientSideOnly = true,
useMetadata = true,
guiFactory = "at.hannibal2.skyhanni.config.ConfigGuiForgeInterop",
- version = "0.21.1.Beta.4",
+ version = "0.21.1.Beta.5",
)
class SkyHanniMod {
@Mod.EventHandler
diff --git a/src/main/java/at/hannibal2/skyhanni/features/garden/farming/GardenCropMilestoneDisplay.kt b/src/main/java/at/hannibal2/skyhanni/features/garden/farming/GardenCropMilestoneDisplay.kt
index 0ae9115eb..dae3e129f 100644
--- a/src/main/java/at/hannibal2/skyhanni/features/garden/farming/GardenCropMilestoneDisplay.kt
+++ b/src/main/java/at/hannibal2/skyhanni/features/garden/farming/GardenCropMilestoneDisplay.kt
@@ -101,6 +101,8 @@ object GardenCropMilestoneDisplay {
val addedCounter = (counter - old).toInt()
FarmingWeightDisplay.addCrop(crop, addedCounter)
update()
+ // Farming Simulator: There is a 25% chance for Mathematical Hoes and the Cultivating Enchantment to count twice.
+ // 0.8 = 1 / 1.25
crop.setCounter(
crop.getCounter() + if (GardenCropSpeed.finneganPerkActive()) {
(addedCounter.toDouble() * 0.8).toInt()