summaryrefslogtreecommitdiff
path: root/src/main/java/at/hannibal2/skyhanni/features/dungeon
diff options
context:
space:
mode:
authorhannibal2 <24389977+hannibal002@users.noreply.github.com>2024-07-28 10:00:59 +0200
committerGitHub <noreply@github.com>2024-07-28 10:00:59 +0200
commitb2082d1d6008d943ffa2269cbdddb1b4fc72b8ce (patch)
tree26806bedd65409c2a00b2ad6fef18ed4dd2dee29 /src/main/java/at/hannibal2/skyhanni/features/dungeon
parenta4ba470eabdea05c3e2770ce56cd3ec9e0687efc (diff)
downloadskyhanni-b2082d1d6008d943ffa2269cbdddb1b4fc72b8ce.tar.gz
skyhanni-b2082d1d6008d943ffa2269cbdddb1b4fc72b8ce.tar.bz2
skyhanni-b2082d1d6008d943ffa2269cbdddb1b4fc72b8ce.zip
Backend: Change colour (UK) to color (US) (#2258)
Co-authored-by: hannibal2 <24389977+hannibal00212@users.noreply.github.com>
Diffstat (limited to 'src/main/java/at/hannibal2/skyhanni/features/dungeon')
-rw-r--r--src/main/java/at/hannibal2/skyhanni/features/dungeon/DungeonDeathCounter.kt2
-rw-r--r--src/main/java/at/hannibal2/skyhanni/features/dungeon/DungeonMilestonesDisplay.kt6
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"
)
}