aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/at/hannibal2/skyhanni/features/misc
diff options
context:
space:
mode:
authorBrandon <brandon.wamboldt@gmail.com>2023-09-08 12:36:36 -0300
committerGitHub <noreply@github.com>2023-09-08 17:36:36 +0200
commit264dde8e13bc9f5d740276d98ab9288a9ef0ed71 (patch)
treecb2cb807dd88166384c613fed15072401378f4f9 /src/main/java/at/hannibal2/skyhanni/features/misc
parent6f9fddfc65fa4ccf30d09198ca404d6be5592158 (diff)
downloadskyhanni-264dde8e13bc9f5d740276d98ab9288a9ef0ed71.tar.gz
skyhanni-264dde8e13bc9f5d740276d98ab9288a9ef0ed71.tar.bz2
skyhanni-264dde8e13bc9f5d740276d98ab9288a9ef0ed71.zip
Fix bad skyblock locations in the end, howling cave, and dreadfarm (#453)
Fix bad skyblock locations in the end, howling cave, and dreadfarm #453
Diffstat (limited to 'src/main/java/at/hannibal2/skyhanni/features/misc')
-rw-r--r--src/main/java/at/hannibal2/skyhanni/features/misc/EnderNodeTracker.kt3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/main/java/at/hannibal2/skyhanni/features/misc/EnderNodeTracker.kt b/src/main/java/at/hannibal2/skyhanni/features/misc/EnderNodeTracker.kt
index 9205b0154..a6a9d44d3 100644
--- a/src/main/java/at/hannibal2/skyhanni/features/misc/EnderNodeTracker.kt
+++ b/src/main/java/at/hannibal2/skyhanni/features/misc/EnderNodeTracker.kt
@@ -146,8 +146,7 @@ class EnderNodeTracker {
display = formatDisplay(drawDisplay())
}
- private fun isInTheEnd() = LorenzUtils.inIsland(IslandType.THE_END)
- && ScoreboardData.sidebarLines.any { it.contains("The End") }
+ private fun isInTheEnd() = LorenzUtils.skyBlockArea == "The End"
private fun isEnderArmor(displayName: String?) = when (displayName) {
"ยง5Ender Helmet",