diff options
Diffstat (limited to 'src/main/java/at/hannibal2')
-rw-r--r-- | src/main/java/at/hannibal2/skyhanni/config/features/slayer/endermen/EndermanConfig.java | 2 | ||||
-rw-r--r-- | src/main/java/at/hannibal2/skyhanni/features/garden/visitor/GardenVisitorTimer.kt | 10 |
2 files changed, 6 insertions, 6 deletions
diff --git a/src/main/java/at/hannibal2/skyhanni/config/features/slayer/endermen/EndermanConfig.java b/src/main/java/at/hannibal2/skyhanni/config/features/slayer/endermen/EndermanConfig.java index 7b5ce353e..605ce0cf2 100644 --- a/src/main/java/at/hannibal2/skyhanni/config/features/slayer/endermen/EndermanConfig.java +++ b/src/main/java/at/hannibal2/skyhanni/config/features/slayer/endermen/EndermanConfig.java @@ -8,7 +8,7 @@ import io.github.moulberry.moulconfig.annotations.ConfigOption; public class EndermanConfig { @Expose - @ConfigOption(name = "Yang Glyph (beacon)", desc = "") + @ConfigOption(name = "Yang Glyph (Beacon)", desc = "") @Accordion public EndermanBeaconConfig beacon = new EndermanBeaconConfig(); diff --git a/src/main/java/at/hannibal2/skyhanni/features/garden/visitor/GardenVisitorTimer.kt b/src/main/java/at/hannibal2/skyhanni/features/garden/visitor/GardenVisitorTimer.kt index 1bd9290e2..2819f1d41 100644 --- a/src/main/java/at/hannibal2/skyhanni/features/garden/visitor/GardenVisitorTimer.kt +++ b/src/main/java/at/hannibal2/skyhanni/features/garden/visitor/GardenVisitorTimer.kt @@ -30,7 +30,7 @@ import kotlin.time.toDuration class GardenVisitorTimer { private val config get() = SkyHanniMod.feature.garden.visitors.timer private val pattern = "§b§lVisitors: §r§f\\((?<time>.*)\\)".toPattern() - private var render = "" + private var display = "" private var lastMillis = 0.seconds private var sixthVisitorArrivalTime = SimpleTimeMark.farPast() private var visitorJustArrived = false @@ -73,7 +73,7 @@ class GardenVisitorTimer { @SubscribeEvent fun onPreProfileSwitch(event: PreProfileSwitchEvent) { - render = "" + display = "" lastMillis = 0.seconds sixthVisitorArrivalTime = SimpleTimeMark.farPast() visitorJustArrived = false @@ -93,7 +93,7 @@ class GardenVisitorTimer { continue } if (line == "§b§lVisitors: §r§f(§r§cNot Unlocked!§r§f)") { - render = "" + display = "" return } @@ -173,14 +173,14 @@ class GardenVisitorTimer { "Next in §$formatColor$formatDuration$extraSpeed" } val visitorLabel = if (visitorsAmount == 1) "visitor" else "visitors" - render = "§b$visitorsAmount $visitorLabel §7($next§7)" + display = "§b$visitorsAmount $visitorLabel §7($next§7)" } @SubscribeEvent fun onRenderOverlay(event: GuiRenderEvent.GuiOverlayRenderEvent) { if (!isEnabled()) return - config.pos.renderString(render, posLabel = "Garden Visitor Timer") + config.pos.renderString(display, posLabel = "Garden Visitor Timer") } @SubscribeEvent |