aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/at/hannibal2/skyhanni/features/misc
diff options
context:
space:
mode:
authorhannibal2 <24389977+hannibal00212@users.noreply.github.com>2023-11-19 02:20:15 +0100
committerhannibal2 <24389977+hannibal00212@users.noreply.github.com>2023-11-19 02:20:15 +0100
commit82fefe356fe1c515c7f534125edc9db2e20c851e (patch)
tree0040c7b12faa29fe41765054f8e31b8e4e8cd311 /src/main/java/at/hannibal2/skyhanni/features/misc
parent8ccf6ff20ba0c698e97b270f7c91940d250659d0 (diff)
downloadskyhanni-82fefe356fe1c515c7f534125edc9db2e20c851e.tar.gz
skyhanni-82fefe356fe1c515c7f534125edc9db2e20c851e.tar.bz2
skyhanni-82fefe356fe1c515c7f534125edc9db2e20c851e.zip
Using IslandType.isInIsland more
Diffstat (limited to 'src/main/java/at/hannibal2/skyhanni/features/misc')
-rw-r--r--src/main/java/at/hannibal2/skyhanni/features/misc/trevor/TrevorFeatures.kt4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main/java/at/hannibal2/skyhanni/features/misc/trevor/TrevorFeatures.kt b/src/main/java/at/hannibal2/skyhanni/features/misc/trevor/TrevorFeatures.kt
index c6b6e3749..6127266d9 100644
--- a/src/main/java/at/hannibal2/skyhanni/features/misc/trevor/TrevorFeatures.kt
+++ b/src/main/java/at/hannibal2/skyhanni/features/misc/trevor/TrevorFeatures.kt
@@ -18,6 +18,7 @@ import at.hannibal2.skyhanni.utils.EntityUtils
import at.hannibal2.skyhanni.utils.LocationUtils.distanceToPlayer
import at.hannibal2.skyhanni.utils.LorenzColor
import at.hannibal2.skyhanni.utils.LorenzUtils
+import at.hannibal2.skyhanni.utils.LorenzUtils.isInIsland
import at.hannibal2.skyhanni.utils.LorenzVec
import at.hannibal2.skyhanni.utils.NEUItems
import at.hannibal2.skyhanni.utils.RenderUtils.drawDynamicText
@@ -296,8 +297,7 @@ object TrevorFeatures {
val colorCode = baseColor.getChatColor()
}
- fun onFarmingIsland() =
- LorenzUtils.inSkyBlock && LorenzUtils.skyBlockIsland == IslandType.THE_FARMING_ISLANDS
+ fun onFarmingIsland() = IslandType.THE_FARMING_ISLANDS.isInIsland()
fun inTrapperDen() = ScoreboardData.sidebarLinesFormatted.contains(" §7⏣ §bTrapper's Den")
}