diff options
author | J10a1n15 <45315647+j10a1n15@users.noreply.github.com> | 2024-04-07 10:30:03 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-04-07 10:30:03 +0200 |
commit | 31bfd8a1d3437f4bdbefa7bcba75143e37c4ac90 (patch) | |
tree | cc443ddafd6ed278991ae6e4814debff9734a704 /src/main/java/at/hannibal2/skyhanni/features/garden | |
parent | 290ec20019977dfb1dbd3a8e6c152693c3337918 (diff) | |
download | skyhanni-31bfd8a1d3437f4bdbefa7bcba75143e37c4ac90.tar.gz skyhanni-31bfd8a1d3437f4bdbefa7bcba75143e37c4ac90.tar.bz2 skyhanni-31bfd8a1d3437f4bdbefa7bcba75143e37c4ac90.zip |
Backend: Mayor Overwrite (#1302)
Co-authored-by: hannibal2 <24389977+hannibal00212@users.noreply.github.com>
Diffstat (limited to 'src/main/java/at/hannibal2/skyhanni/features/garden')
-rw-r--r-- | src/main/java/at/hannibal2/skyhanni/features/garden/farming/GardenCropSpeed.kt | 6 |
1 files changed, 1 insertions, 5 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 b866944d5..691c3777c 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 @@ -174,11 +174,7 @@ object GardenCropSpeed { secondsStopped = 0 } - fun finneganPerkActive(): Boolean { - val forcefullyEnabledAlwaysFinnegan = config.forcefullyEnabledAlwaysFinnegan - val perkActive = Perk.FARMING_SIMULATOR.isActive - return forcefullyEnabledAlwaysFinnegan || perkActive - } + fun finneganPerkActive() = Perk.FARMING_SIMULATOR.isActive fun isEnabled() = GardenAPI.inGarden() |