diff options
author | hannibal2 <24389977+hannibal00212@users.noreply.github.com> | 2023-10-22 16:45:17 +0200 |
---|---|---|
committer | hannibal2 <24389977+hannibal00212@users.noreply.github.com> | 2023-10-22 16:45:17 +0200 |
commit | 7e0e411cad4a7fd779d2679bd69cf7dac6fc22e3 (patch) | |
tree | f233a7dbc47d129f58438f0e3eb077056d4f5ad7 /src/main/java | |
parent | cac60e6c4d3444508b627269073f333770c1472e (diff) | |
download | skyhanni-7e0e411cad4a7fd779d2679bd69cf7dac6fc22e3.tar.gz skyhanni-7e0e411cad4a7fd779d2679bd69cf7dac6fc22e3.tar.bz2 skyhanni-7e0e411cad4a7fd779d2679bd69cf7dac6fc22e3.zip |
fixed dungeon island room detection
Diffstat (limited to 'src/main/java')
-rw-r--r-- | src/main/java/at/hannibal2/skyhanni/utils/LorenzUtils.kt | 2 |
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) |