diff options
author | hannibal2 <24389977+hannibal00212@users.noreply.github.com> | 2024-04-08 19:50:12 +0200 |
---|---|---|
committer | hannibal2 <24389977+hannibal00212@users.noreply.github.com> | 2024-04-08 19:50:12 +0200 |
commit | d9eac8d1f1b3e85750b36026df78cd040b33ca24 (patch) | |
tree | 8e332bebe47f835fe75bdb6b8cb0c73a37434cb6 /src/main/java/at/hannibal2/skyhanni/features/nether | |
parent | 878f8ee718c43d66e068f40e1c2ef7d30abb7ac4 (diff) | |
download | skyhanni-d9eac8d1f1b3e85750b36026df78cd040b33ca24.tar.gz skyhanni-d9eac8d1f1b3e85750b36026df78cd040b33ca24.tar.bz2 skyhanni-d9eac8d1f1b3e85750b36026df78cd040b33ca24.zip |
toChromaColor > specialToChromaRGB
Diffstat (limited to 'src/main/java/at/hannibal2/skyhanni/features/nether')
-rw-r--r-- | src/main/java/at/hannibal2/skyhanni/features/nether/ashfang/AshfangBlazingSouls.kt | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/main/java/at/hannibal2/skyhanni/features/nether/ashfang/AshfangBlazingSouls.kt b/src/main/java/at/hannibal2/skyhanni/features/nether/ashfang/AshfangBlazingSouls.kt index e4ace1bed..ff4cae5a7 100644 --- a/src/main/java/at/hannibal2/skyhanni/features/nether/ashfang/AshfangBlazingSouls.kt +++ b/src/main/java/at/hannibal2/skyhanni/features/nether/ashfang/AshfangBlazingSouls.kt @@ -8,16 +8,15 @@ import at.hannibal2.skyhanni.events.LorenzWorldChangeEvent import at.hannibal2.skyhanni.features.combat.damageindicator.BossType import at.hannibal2.skyhanni.features.combat.damageindicator.DamageIndicatorManager import at.hannibal2.skyhanni.test.GriffinUtils.drawWaypointFilled +import at.hannibal2.skyhanni.utils.ColorUtils.toChromaColor import at.hannibal2.skyhanni.utils.EntityUtils import at.hannibal2.skyhanni.utils.EntityUtils.hasSkullTexture import at.hannibal2.skyhanni.utils.LocationUtils import at.hannibal2.skyhanni.utils.LorenzUtils import at.hannibal2.skyhanni.utils.RenderUtils.drawString -import at.hannibal2.skyhanni.utils.SpecialColour import at.hannibal2.skyhanni.utils.getLorenzVec import net.minecraft.entity.item.EntityArmorStand import net.minecraftforge.fml.common.eventhandler.SubscribeEvent -import java.awt.Color class AshfangBlazingSouls { @@ -40,7 +39,7 @@ class AshfangBlazingSouls { fun onRenderWorld(event: LorenzRenderWorldEvent) { if (!isEnabled()) return - val color = Color(SpecialColour.specialToChromaRGB(config.color), true) + val color = config.color.toChromaColor() val playerLocation = LocationUtils.playerLocation() for (orb in souls) { |