From c15c3d2db212f2fb73e6063aa5ff3cc2b5a7a4f5 Mon Sep 17 00:00:00 2001 From: hannibal2 <24389977+hannibal00212@users.noreply.github.com> Date: Sun, 26 Feb 2023 15:37:56 +0100 Subject: Start fixing gui rendering logic. --- src/main/java/at/hannibal2/skyhanni/events/GuiRenderEvent.kt | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) (limited to 'src/main/java/at/hannibal2/skyhanni/events') diff --git a/src/main/java/at/hannibal2/skyhanni/events/GuiRenderEvent.kt b/src/main/java/at/hannibal2/skyhanni/events/GuiRenderEvent.kt index 9b7cebced..f7b02466c 100644 --- a/src/main/java/at/hannibal2/skyhanni/events/GuiRenderEvent.kt +++ b/src/main/java/at/hannibal2/skyhanni/events/GuiRenderEvent.kt @@ -1,10 +1,6 @@ package at.hannibal2.skyhanni.events -class GuiRenderEvent(val type: RenderType): LorenzEvent() { - - enum class RenderType { - INVENTORY_BACKGROUND, - IN_WORLD, - ; - } +open class GuiRenderEvent: LorenzEvent() { + class ChestBackgroundRenderEvent: GuiRenderEvent() + class GameOverlayRenderEvent: GuiRenderEvent() } \ No newline at end of file -- cgit