diff options
| author | hannibal2 <24389977+hannibal00212@users.noreply.github.com> | 2022-09-15 23:08:36 +0200 |
|---|---|---|
| committer | hannibal2 <24389977+hannibal00212@users.noreply.github.com> | 2022-09-15 23:08:36 +0200 |
| commit | 9b08ac8a353963e802ff964170420a867960f5b5 (patch) | |
| tree | c05cccfea0938f898fc57df8fb2abd58ad80e2f5 /src/main/java/at/hannibal2/skyhanni/features | |
| parent | 3e390a65bb8e81e8d226aea9e2d867ab8c1b4210 (diff) | |
| download | skyhanni-9b08ac8a353963e802ff964170420a867960f5b5.tar.gz skyhanni-9b08ac8a353963e802ff964170420a867960f5b5.tar.bz2 skyhanni-9b08ac8a353963e802ff964170420a867960f5b5.zip | |
fixed dungeon highlight clicked blocks
Diffstat (limited to 'src/main/java/at/hannibal2/skyhanni/features')
| -rw-r--r-- | src/main/java/at/hannibal2/skyhanni/features/dungeon/DungeonHighlightClickedBlocks.kt | 5 | ||||
| -rw-r--r-- | src/main/java/at/hannibal2/skyhanni/features/summonings/SummoningMobManager.kt | 1 |
2 files changed, 4 insertions, 2 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 100ad7427..e634cb375 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,9 @@ class DungeonHighlightClickedBlocks { fun onSendPacket(event: PacketEvent.SendEvent) { if (!SkyHanniMod.feature.dungeon.highlightClickedBlocks) return if (!LorenzUtils.inDungeons) return - if (!DungeonData.inBossRoom) return - if (event.packet !is C08PacketPlayerBlockPlacement || event.packet.stack == null) return + if (DungeonData.inBossRoom) return + if (event.packet !is C08PacketPlayerBlockPlacement) return + if (event.packet.stack == null) return val position = event.packet.position.toLorenzVec() diff --git a/src/main/java/at/hannibal2/skyhanni/features/summonings/SummoningMobManager.kt b/src/main/java/at/hannibal2/skyhanni/features/summonings/SummoningMobManager.kt index 4334cd0d1..6560bc606 100644 --- a/src/main/java/at/hannibal2/skyhanni/features/summonings/SummoningMobManager.kt +++ b/src/main/java/at/hannibal2/skyhanni/features/summonings/SummoningMobManager.kt @@ -138,6 +138,7 @@ class SummoningMobManager { @SubscribeEvent fun renderOverlay(event: RenderGameOverlayEvent.Post) { + if (!LorenzUtils.inSkyblock) return if (!SkyHanniMod.feature.summonings.summoningMobDisplay) return if (summoningMobs.isEmpty()) return |
