From 89afcc094ce915b362fb7411bcbaaedd674e61d0 Mon Sep 17 00:00:00 2001 From: hannibal2 <24389977+hannibal00212@users.noreply.github.com> Date: Wed, 31 Jan 2024 11:33:32 +0100 Subject: Show clicked chest in water puzzle room again --- .../skyhanni/features/dungeon/DungeonHighlightClickedBlocks.kt | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) (limited to 'src/main/java') 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 -- cgit