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/fishing/ThunderSparksHighlight.kt | 4 ++-- .../at/hannibal2/skyhanni/features/fishing/trophy/GeyserFishing.kt | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) (limited to 'src/main/java/at/hannibal2/skyhanni/features/fishing') diff --git a/src/main/java/at/hannibal2/skyhanni/features/fishing/ThunderSparksHighlight.kt b/src/main/java/at/hannibal2/skyhanni/features/fishing/ThunderSparksHighlight.kt index 91801f169..d1220d7e3 100644 --- a/src/main/java/at/hannibal2/skyhanni/features/fishing/ThunderSparksHighlight.kt +++ b/src/main/java/at/hannibal2/skyhanni/features/fishing/ThunderSparksHighlight.kt @@ -16,7 +16,7 @@ import at.hannibal2.skyhanni.utils.LorenzUtils import at.hannibal2.skyhanni.utils.LorenzUtils.isInIsland import at.hannibal2.skyhanni.utils.RenderUtils.drawString import at.hannibal2.skyhanni.utils.RenderUtils.drawWaypointFilled -import at.hannibal2.skyhanni.utils.SpecialColour +import at.hannibal2.skyhanni.utils.SpecialColor import at.hannibal2.skyhanni.utils.getLorenzVec import net.minecraft.entity.item.EntityArmorStand import net.minecraft.init.Blocks @@ -45,7 +45,7 @@ object ThunderSparksHighlight { if (!isEnabled()) return val special = config.color - val color = Color(SpecialColour.specialToChromaRGB(special), true) + val color = Color(SpecialColor.specialToChromaRGB(special), true) val playerLocation = LocationUtils.playerLocation() for (spark in sparks) { diff --git a/src/main/java/at/hannibal2/skyhanni/features/fishing/trophy/GeyserFishing.kt b/src/main/java/at/hannibal2/skyhanni/features/fishing/trophy/GeyserFishing.kt index 24f52e0b2..ee3838335 100644 --- a/src/main/java/at/hannibal2/skyhanni/features/fishing/trophy/GeyserFishing.kt +++ b/src/main/java/at/hannibal2/skyhanni/features/fishing/trophy/GeyserFishing.kt @@ -13,7 +13,7 @@ import at.hannibal2.skyhanni.utils.LorenzUtils import at.hannibal2.skyhanni.utils.LorenzUtils.isInIsland import at.hannibal2.skyhanni.utils.LorenzVec import at.hannibal2.skyhanni.utils.RenderUtils.drawFilledBoundingBox_nea -import at.hannibal2.skyhanni.utils.SpecialColour +import at.hannibal2.skyhanni.utils.SpecialColor import net.minecraft.util.AxisAlignedBB import net.minecraft.util.EnumParticleTypes import net.minecraftforge.fml.common.eventhandler.EventPriority @@ -63,7 +63,7 @@ object GeyserFishing { if (!IslandType.CRIMSON_ISLE.isInIsland()) return if (config.onlyWithRod && !FishingAPI.holdingLavaRod) return - val color = Color(SpecialColour.specialToChromaRGB(config.boxColor), true) + val color = Color(SpecialColor.specialToChromaRGB(config.boxColor), true) event.drawFilledBoundingBox_nea(geyserBox, color) } -- cgit