diff options
Diffstat (limited to 'src/main/java/at/hannibal2/skyhanni/features/dungeon')
| -rw-r--r-- | src/main/java/at/hannibal2/skyhanni/features/dungeon/DungeonDeathCounter.kt | 2 | ||||
| -rw-r--r-- | src/main/java/at/hannibal2/skyhanni/features/dungeon/DungeonMilestonesDisplay.kt | 6 |
2 files changed, 4 insertions, 4 deletions
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" ) } |
