diff options
Diffstat (limited to 'src/main/java/at/hannibal2/skyhanni')
-rw-r--r-- | src/main/java/at/hannibal2/skyhanni/features/nether/ashfang/AshfangBlazingSouls.kt | 5 | ||||
-rw-r--r-- | src/main/java/at/hannibal2/skyhanni/utils/SpecialColour.java | 1 |
2 files changed, 3 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) { diff --git a/src/main/java/at/hannibal2/skyhanni/utils/SpecialColour.java b/src/main/java/at/hannibal2/skyhanni/utils/SpecialColour.java index fad2947c1..010e67e4d 100644 --- a/src/main/java/at/hannibal2/skyhanni/utils/SpecialColour.java +++ b/src/main/java/at/hannibal2/skyhanni/utils/SpecialColour.java @@ -33,6 +33,7 @@ public class SpecialColour { public static long startTime = -1; + @Deprecated // use String.toChromaColor() public static int specialToChromaRGB(String special) { if (startTime < 0) startTime = System.currentTimeMillis(); |