From 191fef53bfad456993d510a0ca740b6759b978d5 Mon Sep 17 00:00:00 2001 From: hannibal2 <24389977+hannibal00212@users.noreply.github.com> Date: Mon, 27 Feb 2023 21:56:14 +0100 Subject: Code cleanup. --- .../skyhanni/features/garden/GardenCropMilestoneDisplay.kt | 7 +++---- .../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 -- cgit