diff options
author | hannibal2 <24389977+hannibal00212@users.noreply.github.com> | 2024-01-31 11:33:32 +0100 |
---|---|---|
committer | hannibal2 <24389977+hannibal00212@users.noreply.github.com> | 2024-01-31 11:33:32 +0100 |
commit | 89afcc094ce915b362fb7411bcbaaedd674e61d0 (patch) | |
tree | 960c6a8481da14551d0ce8e0fdcb4b7e0e055e84 | |
parent | aa824493ab33aa4386eeb7fdf17c272af5c3bc63 (diff) | |
download | skyhanni-89afcc094ce915b362fb7411bcbaaedd674e61d0.tar.gz skyhanni-89afcc094ce915b362fb7411bcbaaedd674e61d0.tar.bz2 skyhanni-89afcc094ce915b362fb7411bcbaaedd674e61d0.zip |
Show clicked chest in water puzzle room again
-rw-r--r-- | src/main/java/at/hannibal2/skyhanni/features/dungeon/DungeonHighlightClickedBlocks.kt | 8 |
1 files changed, 2 insertions, 6 deletions
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 d97f1b327..3420335ec 100644 --- a/src/main/java/at/hannibal2/skyhanni/features/dungeon/DungeonHighlightClickedBlocks.kt +++ b/src/main/java/at/hannibal2/skyhanni/features/dungeon/DungeonHighlightClickedBlocks.kt @@ -55,10 +55,6 @@ class DungeonHighlightClickedBlocks { else -> return } - // Water room - if (DungeonAPI.getRoomID() == "-60,-60") { - return - } if (type == ClickedBlockType.WITHER_ESSENCE) { val text = BlockUtils.getTextureFromSkull(position.toBlockPos()) @@ -70,8 +66,8 @@ class DungeonHighlightClickedBlocks { } } - // TODO hide in water room -// if (nearWaterRoom() && type == ClickedBlockType.LEVER) return + val inWaterRoom = DungeonAPI.getRoomID() == "-60,-60" + if (inWaterRoom && type == ClickedBlockType.LEVER) return val color = getNextColor() val displayText = color.getChatColor() + "Clicked " + type.display |