From 78a231616a73628ef1f861c85188b7d28c25180e Mon Sep 17 00:00:00 2001 From: Lorenz Date: Thu, 15 Sep 2022 15:38:49 +0200 Subject: stop highlighting levers in dungeon boss room --- .../skyhanni/features/dungeon/DungeonHighlightClickedBlocks.kt | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/main/java/at') 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 4af9d5efd..31c9fd92a 100644 --- a/src/main/java/at/hannibal2/skyhanni/features/dungeon/DungeonHighlightClickedBlocks.kt +++ b/src/main/java/at/hannibal2/skyhanni/features/dungeon/DungeonHighlightClickedBlocks.kt @@ -39,8 +39,7 @@ class DungeonHighlightClickedBlocks { fun onSendPacket(event: PacketEvent.SendEvent) { if (!SkyHanniMod.feature.dungeon.highlightClickedBlocks) return if (!LorenzUtils.inDungeons) return -// TODO add -// if (DungeonAPI.inBossRoom) return + if (!DungeonData.inBossRoom) return if (event.packet !is C08PacketPlayerBlockPlacement || event.packet.stack == null) return val position = event.packet.position.toLorenzVec() -- cgit