From 494043709d21e555f44164bd2e568dd1ca2d8233 Mon Sep 17 00:00:00 2001 From: hannibal2 <24389977+hannibal00212@users.noreply.github.com> Date: Thu, 12 Oct 2023 16:59:36 +0200 Subject: fixed typo --- src/main/java/at/hannibal2/skyhanni/features/dungeon/DungeonAPI.kt | 2 +- .../skyhanni/features/dungeon/DungeonHighlightClickedBlocks.kt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'src/main/java/at/hannibal2/skyhanni') 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 } -- cgit