diff options
author | hannibal2 <24389977+hannibal00212@users.noreply.github.com> | 2023-02-27 21:56:14 +0100 |
---|---|---|
committer | hannibal2 <24389977+hannibal00212@users.noreply.github.com> | 2023-02-27 21:56:14 +0100 |
commit | 191fef53bfad456993d510a0ca740b6759b978d5 (patch) | |
tree | ca707231e72b0602ab2fa4bb6191c78e5d9cb768 | |
parent | 4c4bb62e334be479567439bde1f9eae4c71b5959 (diff) | |
download | skyhanni-191fef53bfad456993d510a0ca740b6759b978d5.tar.gz skyhanni-191fef53bfad456993d510a0ca740b6759b978d5.tar.bz2 skyhanni-191fef53bfad456993d510a0ca740b6759b978d5.zip |
Code cleanup.
-rw-r--r-- | src/main/java/at/hannibal2/skyhanni/features/garden/GardenCropMilestoneDisplay.kt | 7 | ||||
-rw-r--r-- | src/main/java/at/hannibal2/skyhanni/features/garden/GardenVisitorTimer.kt | 7 |
2 files changed, 6 insertions, 8 deletions
diff --git a/src/main/java/at/hannibal2/skyhanni/features/garden/GardenCropMilestoneDisplay.kt b/src/main/java/at/hannibal2/skyhanni/features/garden/GardenCropMilestoneDisplay.kt index 8d57559ee..1e224409b 100644 --- a/src/main/java/at/hannibal2/skyhanni/features/garden/GardenCropMilestoneDisplay.kt +++ b/src/main/java/at/hannibal2/skyhanni/features/garden/GardenCropMilestoneDisplay.kt @@ -155,8 +155,7 @@ class GardenCropMilestoneDisplay { return null } - private fun isEnabled() = - LorenzUtils.inSkyBlock && - SkyHanniMod.feature.garden.cropMilestoneDisplay && - LorenzUtils.skyBlockIsland == IslandType.GARDEN + private fun isEnabled() = LorenzUtils.inSkyBlock && + SkyHanniMod.feature.garden.cropMilestoneDisplay && + LorenzUtils.skyBlockIsland == IslandType.GARDEN }
\ No newline at end of file diff --git a/src/main/java/at/hannibal2/skyhanni/features/garden/GardenVisitorTimer.kt b/src/main/java/at/hannibal2/skyhanni/features/garden/GardenVisitorTimer.kt index 407fdb6a9..83b38fb85 100644 --- a/src/main/java/at/hannibal2/skyhanni/features/garden/GardenVisitorTimer.kt +++ b/src/main/java/at/hannibal2/skyhanni/features/garden/GardenVisitorTimer.kt @@ -64,8 +64,7 @@ class GardenVisitorTimer { SkyHanniMod.feature.garden.visitorTimerPos.renderString(render) } - private fun isEnabled() = - LorenzUtils.inSkyBlock && - SkyHanniMod.feature.garden.visitorTimerEnabled && - LorenzUtils.skyBlockIsland == IslandType.GARDEN + private fun isEnabled() = LorenzUtils.inSkyBlock && + SkyHanniMod.feature.garden.visitorTimerEnabled && + LorenzUtils.skyBlockIsland == IslandType.GARDEN }
\ No newline at end of file |