aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorhannibal2 <24389977+hannibal00212@users.noreply.github.com>2023-10-22 16:45:17 +0200
committerhannibal2 <24389977+hannibal00212@users.noreply.github.com>2023-10-22 16:45:17 +0200
commit7e0e411cad4a7fd779d2679bd69cf7dac6fc22e3 (patch)
treef233a7dbc47d129f58438f0e3eb077056d4f5ad7
parentcac60e6c4d3444508b627269073f333770c1472e (diff)
downloadskyhanni-7e0e411cad4a7fd779d2679bd69cf7dac6fc22e3.tar.gz
skyhanni-7e0e411cad4a7fd779d2679bd69cf7dac6fc22e3.tar.bz2
skyhanni-7e0e411cad4a7fd779d2679bd69cf7dac6fc22e3.zip
fixed dungeon island room detection
-rw-r--r--src/main/java/at/hannibal2/skyhanni/utils/LorenzUtils.kt2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/at/hannibal2/skyhanni/utils/LorenzUtils.kt b/src/main/java/at/hannibal2/skyhanni/utils/LorenzUtils.kt
index d53dd4d1b..28afe3b4e 100644
--- a/src/main/java/at/hannibal2/skyhanni/utils/LorenzUtils.kt
+++ b/src/main/java/at/hannibal2/skyhanni/utils/LorenzUtils.kt
@@ -430,7 +430,7 @@ object LorenzUtils {
&& tileSign.signText[3].unformattedText.removeColor() == "speed cap!")
}
- fun inIsland(island: IslandType) = inSkyBlock && skyBlockIsland == island
+ fun inIsland(island: IslandType) = inSkyBlock && (skyBlockIsland == island || island == IslandType.CATACOMBS && inDungeons)
fun IslandType.isInIsland() = inIsland(this)