diff options
author | hannibal2 <24389977+hannibal00212@users.noreply.github.com> | 2023-10-12 16:59:36 +0200 |
---|---|---|
committer | hannibal2 <24389977+hannibal00212@users.noreply.github.com> | 2023-10-12 16:59:36 +0200 |
commit | 494043709d21e555f44164bd2e568dd1ca2d8233 (patch) | |
tree | bc13a7a19a09d0d579ec68601f8cc338d9489d87 /src/main/java/at/hannibal2/skyhanni | |
parent | a6ce9c067db3f4ce7fed4dcefad79ff8b206fb5b (diff) | |
download | skyhanni-494043709d21e555f44164bd2e568dd1ca2d8233.tar.gz skyhanni-494043709d21e555f44164bd2e568dd1ca2d8233.tar.bz2 skyhanni-494043709d21e555f44164bd2e568dd1ca2d8233.zip |
fixed typo
Diffstat (limited to 'src/main/java/at/hannibal2/skyhanni')
-rw-r--r-- | src/main/java/at/hannibal2/skyhanni/features/dungeon/DungeonAPI.kt | 2 | ||||
-rw-r--r-- | src/main/java/at/hannibal2/skyhanni/features/dungeon/DungeonHighlightClickedBlocks.kt | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/main/java/at/hannibal2/skyhanni/features/dungeon/DungeonAPI.kt b/src/main/java/at/hannibal2/skyhanni/features/dungeon/DungeonAPI.kt index a3129ad8c..e15f5408c 100644 --- a/src/main/java/at/hannibal2/skyhanni/features/dungeon/DungeonAPI.kt +++ b/src/main/java/at/hannibal2/skyhanni/features/dungeon/DungeonAPI.kt @@ -94,7 +94,7 @@ class DungeonAPI { return DungeonFloor.valueOf(floor.replace("M", "F")) } - fun getFloorId() = ScoreboardData.sidebarLines.firstOrNull()?.removeColor()?.split(" ")?.getOrNull(2) + fun getRoomID() = ScoreboardData.sidebarLines.firstOrNull()?.removeColor()?.split(" ")?.getOrNull(2) } @SubscribeEvent diff --git a/src/main/java/at/hannibal2/skyhanni/features/dungeon/DungeonHighlightClickedBlocks.kt b/src/main/java/at/hannibal2/skyhanni/features/dungeon/DungeonHighlightClickedBlocks.kt index fa3592940..e574015bd 100644 --- a/src/main/java/at/hannibal2/skyhanni/features/dungeon/DungeonHighlightClickedBlocks.kt +++ b/src/main/java/at/hannibal2/skyhanni/features/dungeon/DungeonHighlightClickedBlocks.kt @@ -56,7 +56,7 @@ class DungeonHighlightClickedBlocks { } // Water room - if (DungeonAPI.getFloorId() == "-60,-60") { + if (DungeonAPI.getRoomID() == "-60,-60") { return } |