diff options
author | hannibal2 <24389977+hannibal00212@users.noreply.github.com> | 2023-01-07 03:11:17 +0100 |
---|---|---|
committer | hannibal2 <24389977+hannibal00212@users.noreply.github.com> | 2023-01-07 03:11:17 +0100 |
commit | 0c711242c8d96517e49e0ecc7a081f8e15cdd7ed (patch) | |
tree | b890f54d39478f0dab45e9fa986eae01d4de7ca3 /src/main/java/at/hannibal2/skyhanni/features/misc | |
parent | ce0956ac232f444724f90f0633b4b35f3dd8cfdf (diff) | |
download | skyhanni-0c711242c8d96517e49e0ecc7a081f8e15cdd7ed.tar.gz skyhanni-0c711242c8d96517e49e0ecc7a081f8e15cdd7ed.tar.bz2 skyhanni-0c711242c8d96517e49e0ecc7a081f8e15cdd7ed.zip |
Introduced IslandType enum.
Diffstat (limited to 'src/main/java/at/hannibal2/skyhanni/features/misc')
-rw-r--r-- | src/main/java/at/hannibal2/skyhanni/features/misc/CorruptedMobHighlight.kt | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/main/java/at/hannibal2/skyhanni/features/misc/CorruptedMobHighlight.kt b/src/main/java/at/hannibal2/skyhanni/features/misc/CorruptedMobHighlight.kt index d2ab1725a..0b4effca4 100644 --- a/src/main/java/at/hannibal2/skyhanni/features/misc/CorruptedMobHighlight.kt +++ b/src/main/java/at/hannibal2/skyhanni/features/misc/CorruptedMobHighlight.kt @@ -1,6 +1,7 @@ package at.hannibal2.skyhanni.features.misc import at.hannibal2.skyhanni.SkyHanniMod +import at.hannibal2.skyhanni.data.IslandType import at.hannibal2.skyhanni.events.EntityHealthUpdateEvent import at.hannibal2.skyhanni.events.RenderMobColoredEvent import at.hannibal2.skyhanni.events.ResetEntityHurtEvent @@ -56,6 +57,6 @@ class CorruptedMobHighlight { private fun isEnabled(): Boolean { return LorenzUtils.inSkyBlock && SkyHanniMod.feature.misc.corruptedMobHighlight && - LorenzUtils.skyBlockIsland != "Private Island" + LorenzUtils.skyBlockIsland != IslandType.PRIVATE_ISLAND } }
\ No newline at end of file |