diff options
author | hannibal2 <24389977+hannibal00212@users.noreply.github.com> | 2024-02-27 19:36:15 +0100 |
---|---|---|
committer | hannibal2 <24389977+hannibal00212@users.noreply.github.com> | 2024-02-27 19:36:15 +0100 |
commit | 5e99f51cd2cc5d6ca316ece90ad6906f46afc229 (patch) | |
tree | 484ade098b40be95d1e21daeaab306913b3d954d /src/main/java/at/hannibal2 | |
parent | 7c5a50d619a3a953839cdcc2ed508fb60d76606b (diff) | |
download | skyhanni-5e99f51cd2cc5d6ca316ece90ad6906f46afc229.tar.gz skyhanni-5e99f51cd2cc5d6ca316ece90ad6906f46afc229.tar.bz2 skyhanni-5e99f51cd2cc5d6ca316ece90ad6906f46afc229.zip |
Made compact scoreboard render above other SkyHanni GUIs when toggle tab is in use.
Diffstat (limited to 'src/main/java/at/hannibal2')
-rw-r--r-- | src/main/java/at/hannibal2/skyhanni/features/misc/compacttablist/TabListRenderer.kt | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/main/java/at/hannibal2/skyhanni/features/misc/compacttablist/TabListRenderer.kt b/src/main/java/at/hannibal2/skyhanni/features/misc/compacttablist/TabListRenderer.kt index afc97d766..059712e40 100644 --- a/src/main/java/at/hannibal2/skyhanni/features/misc/compacttablist/TabListRenderer.kt +++ b/src/main/java/at/hannibal2/skyhanni/features/misc/compacttablist/TabListRenderer.kt @@ -15,6 +15,7 @@ import net.minecraft.client.gui.ScaledResolution import net.minecraft.client.renderer.GlStateManager import net.minecraft.entity.player.EnumPlayerModelParts import net.minecraftforge.client.event.RenderGameOverlayEvent +import net.minecraftforge.fml.common.eventhandler.EventPriority import net.minecraftforge.fml.common.eventhandler.SubscribeEvent object TabListRenderer { @@ -41,7 +42,7 @@ object TabListRenderer { private var isPressed = false private var isTabToggled = false - @SubscribeEvent + @SubscribeEvent(priority = EventPriority.LOW) fun onRenderOverlay(event: GuiRenderEvent.GuiOverlayRenderEvent) { if (!LorenzUtils.inSkyBlock) return if (!config.enabled) return |