summaryrefslogtreecommitdiff
path: root/src/main/java/at/hannibal2/skyhanni/features/end
diff options
context:
space:
mode:
authorhannibal2 <24389977+hannibal00212@users.noreply.github.com>2023-01-07 03:11:17 +0100
committerhannibal2 <24389977+hannibal00212@users.noreply.github.com>2023-01-07 03:11:17 +0100
commit0c711242c8d96517e49e0ecc7a081f8e15cdd7ed (patch)
treeb890f54d39478f0dab45e9fa986eae01d4de7ca3 /src/main/java/at/hannibal2/skyhanni/features/end
parentce0956ac232f444724f90f0633b4b35f3dd8cfdf (diff)
downloadskyhanni-0c711242c8d96517e49e0ecc7a081f8e15cdd7ed.tar.gz
skyhanni-0c711242c8d96517e49e0ecc7a081f8e15cdd7ed.tar.bz2
skyhanni-0c711242c8d96517e49e0ecc7a081f8e15cdd7ed.zip
Introduced IslandType enum.
Diffstat (limited to 'src/main/java/at/hannibal2/skyhanni/features/end')
-rw-r--r--src/main/java/at/hannibal2/skyhanni/features/end/VoidlingExtremistColor.kt3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/main/java/at/hannibal2/skyhanni/features/end/VoidlingExtremistColor.kt b/src/main/java/at/hannibal2/skyhanni/features/end/VoidlingExtremistColor.kt
index 6f6a083d8..c9b02bf5d 100644
--- a/src/main/java/at/hannibal2/skyhanni/features/end/VoidlingExtremistColor.kt
+++ b/src/main/java/at/hannibal2/skyhanni/features/end/VoidlingExtremistColor.kt
@@ -1,6 +1,7 @@
package at.hannibal2.skyhanni.features.end
import at.hannibal2.skyhanni.SkyHanniMod
+import at.hannibal2.skyhanni.data.IslandType
import at.hannibal2.skyhanni.events.RenderMobColoredEvent
import at.hannibal2.skyhanni.events.ResetEntityHurtEvent
import at.hannibal2.skyhanni.events.withAlpha
@@ -54,5 +55,5 @@ class VoidlingExtremistColor {
}
private fun isEnabled(): Boolean =
- LorenzUtils.inSkyBlock && LorenzUtils.skyBlockIsland == "The End" && SkyHanniMod.feature.misc.voidlingExtremistColor
+ LorenzUtils.inSkyBlock && LorenzUtils.skyBlockIsland == IslandType.THE_END && SkyHanniMod.feature.misc.voidlingExtremistColor
} \ No newline at end of file