aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/main/java/at/hannibal2/skyhanni/features/dungeon/DungeonHighlightClickedBlocks.kt9
1 files changed, 2 insertions, 7 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..36c9f780d 100644
--- a/src/main/java/at/hannibal2/skyhanni/features/dungeon/DungeonHighlightClickedBlocks.kt
+++ b/src/main/java/at/hannibal2/skyhanni/features/dungeon/DungeonHighlightClickedBlocks.kt
@@ -55,11 +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())
if (text != "eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQ" +
@@ -70,8 +65,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