From b2082d1d6008d943ffa2269cbdddb1b4fc72b8ce Mon Sep 17 00:00:00 2001 From: hannibal2 <24389977+hannibal002@users.noreply.github.com> Date: Sun, 28 Jul 2024 10:00:59 +0200 Subject: Backend: Change colour (UK) to color (US) (#2258) Co-authored-by: hannibal2 <24389977+hannibal00212@users.noreply.github.com> --- .../at/hannibal2/skyhanni/features/dungeon/DungeonDeathCounter.kt | 2 +- .../hannibal2/skyhanni/features/dungeon/DungeonMilestonesDisplay.kt | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) (limited to 'src/main/java/at/hannibal2/skyhanni/features/dungeon') diff --git a/src/main/java/at/hannibal2/skyhanni/features/dungeon/DungeonDeathCounter.kt b/src/main/java/at/hannibal2/skyhanni/features/dungeon/DungeonDeathCounter.kt index 4be042b43..7245ab8f5 100644 --- a/src/main/java/at/hannibal2/skyhanni/features/dungeon/DungeonDeathCounter.kt +++ b/src/main/java/at/hannibal2/skyhanni/features/dungeon/DungeonDeathCounter.kt @@ -94,7 +94,7 @@ object DungeonDeathCounter { if (!isEnabled()) return config.deathCounterPos.renderString( - DungeonMilestonesDisplay.colour + display, + DungeonMilestonesDisplay.color + display, posLabel = "Dungeon Death Counter" ) } diff --git a/src/main/java/at/hannibal2/skyhanni/features/dungeon/DungeonMilestonesDisplay.kt b/src/main/java/at/hannibal2/skyhanni/features/dungeon/DungeonMilestonesDisplay.kt index 3f00775d9..ea65b2e00 100644 --- a/src/main/java/at/hannibal2/skyhanni/features/dungeon/DungeonMilestonesDisplay.kt +++ b/src/main/java/at/hannibal2/skyhanni/features/dungeon/DungeonMilestonesDisplay.kt @@ -27,7 +27,7 @@ object DungeonMilestonesDisplay { private var display = "" private var currentMilestone = 0 private var timeReached = SimpleTimeMark.farPast() - var colour = "" + var color = "" @SubscribeEvent fun onTick(event: LorenzTickEvent) { @@ -54,7 +54,7 @@ object DungeonMilestonesDisplay { timeReached = SimpleTimeMark.now() } - colour = when (currentMilestone) { + color = when (currentMilestone) { 0, 1 -> "§c" 2 -> "§e" else -> "§a" @@ -79,7 +79,7 @@ object DungeonMilestonesDisplay { if (!isEnabled()) return config.showMileStonesDisplayPos.renderString( - colour + display, + color + display, posLabel = "Dungeon Milestone" ) } -- cgit