aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/at/hannibal2
diff options
context:
space:
mode:
authorhannibal2 <24389977+hannibal00212@users.noreply.github.com>2024-02-27 19:36:15 +0100
committerhannibal2 <24389977+hannibal00212@users.noreply.github.com>2024-02-27 19:36:15 +0100
commit5e99f51cd2cc5d6ca316ece90ad6906f46afc229 (patch)
tree484ade098b40be95d1e21daeaab306913b3d954d /src/main/java/at/hannibal2
parent7c5a50d619a3a953839cdcc2ed508fb60d76606b (diff)
downloadskyhanni-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.kt3
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