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> --- .../skyhanni/features/mining/eventtracker/MiningEventType.kt | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'src/main/java/at/hannibal2/skyhanni/features/mining') diff --git a/src/main/java/at/hannibal2/skyhanni/features/mining/eventtracker/MiningEventType.kt b/src/main/java/at/hannibal2/skyhanni/features/mining/eventtracker/MiningEventType.kt index 312f291de..eb56a0dd3 100644 --- a/src/main/java/at/hannibal2/skyhanni/features/mining/eventtracker/MiningEventType.kt +++ b/src/main/java/at/hannibal2/skyhanni/features/mining/eventtracker/MiningEventType.kt @@ -21,7 +21,7 @@ enum class MiningEventType( val eventName: String, private val shortName: String, val defaultLength: Duration, - private val colourCode: Char, + private val colorCode: Char, val dwarvenSpecific: Boolean, iconInput: Renderable, ) { @@ -101,18 +101,18 @@ enum class MiningEventType( eventName: String, shortName: String, defaultLength: Duration, - colourCode: Char, + colorCode: Char, dwarvenSpecific: Boolean, iconInput: ItemStack, ) : this( - eventName, shortName, defaultLength, colourCode, dwarvenSpecific, Renderable.itemStack( + eventName, shortName, defaultLength, colorCode, dwarvenSpecific, Renderable.itemStack( iconInput, xSpacing = 0 ) ) val icon = Renderable.hoverTips(iconInput, listOf(eventName)) - val compactText = Renderable.string("§$colourCode$shortName") - val normalText = Renderable.string("§$colourCode$eventName") + val compactText = Renderable.string("§$colorCode$shortName") + val normalText = Renderable.string("§$colorCode$eventName") val compactTextWithIcon = Renderable.horizontalContainer(listOf(icon, compactText), 0) val normalTextWithIcon = Renderable.horizontalContainer(listOf(icon, normalText), 0) -- cgit