From 0f26f422ac52c9677fe5c8547aaee643b2e876a8 Mon Sep 17 00:00:00 2001 From: Aeronica Date: Wed, 28 Feb 2024 13:27:19 -0600 Subject: [PATCH] WIP: Improve Instrument and MusicVenueTool overlays. --- .../java/aeronicamc/mods/mxtune/render/ActiveAudioOverlay.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/aeronicamc/mods/mxtune/render/ActiveAudioOverlay.java b/src/main/java/aeronicamc/mods/mxtune/render/ActiveAudioOverlay.java index b000bfa3..72c1f299 100644 --- a/src/main/java/aeronicamc/mods/mxtune/render/ActiveAudioOverlay.java +++ b/src/main/java/aeronicamc/mods/mxtune/render/ActiveAudioOverlay.java @@ -35,6 +35,6 @@ public static void render(RenderGameOverlayEvent.Post event) { private static boolean isPlacardInHotBar() { int slot = getPlayer().inventory.findSlotMatchingItem(PLACARD_ITEM); - return slot >= 0 && slot < 9; + return slot >= 0 && slot < 9 && !(getPlayer().portalTime > 0); } }