From 24c8ce90e3925a397975b617eedf796ae52208ae Mon Sep 17 00:00:00 2001 From: CalMWolfs <94038482+CalMWolfs@users.noreply.github.com> Date: Sat, 7 Oct 2023 11:43:32 +1100 Subject: Feature: Compact tab list (from sba but better) (#459) Added Advanced Tab List #459 --- src/main/java/at/hannibal2/skyhanni/data/GuiEditManager.kt | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/main/java/at/hannibal2/skyhanni/data/GuiEditManager.kt') diff --git a/src/main/java/at/hannibal2/skyhanni/data/GuiEditManager.kt b/src/main/java/at/hannibal2/skyhanni/data/GuiEditManager.kt index ad32abc15..4313fcb35 100644 --- a/src/main/java/at/hannibal2/skyhanni/data/GuiEditManager.kt +++ b/src/main/java/at/hannibal2/skyhanni/data/GuiEditManager.kt @@ -44,7 +44,7 @@ class GuiEditManager { } @SubscribeEvent(priority = EventPriority.LOWEST) - fun onRenderOverlay(event: GuiRenderEvent.GameOverlayRenderEvent) { + fun onRenderOverlay(event: GuiRenderEvent.GuiOverlayRenderEvent) { latestPositions = currentPositions.toMap() currentPositions.clear() } @@ -78,11 +78,11 @@ class GuiEditManager { GlStateManager.translate(0f, 0f, 200f) - GuiRenderEvent.GameOverlayRenderEvent().postAndCatch() + GuiRenderEvent.GuiOverlayRenderEvent().postAndCatch() GlStateManager.pushMatrix() GlStateManager.enableDepth() - GuiRenderEvent.ChestBackgroundRenderEvent().postAndCatch() + GuiRenderEvent.ChestGuiOverlayRenderEvent().postAndCatch() GlStateManager.popMatrix() GlStateManager.translate(0f, 0f, -200f) -- cgit