From 885e58c85cbc70d01014e91e8d15c27e46fc859e Mon Sep 17 00:00:00 2001 From: Electroblob77 <35599699+Electroblob77@users.noreply.github.com> Date: Sun, 29 Mar 2020 16:55:04 +0100 Subject: [PATCH] Receive only RenderGameOverlayEvent.Post, not both --- .../java/electroblob/wizardry/client/gui/GuiSpellDisplay.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/electroblob/wizardry/client/gui/GuiSpellDisplay.java b/src/main/java/electroblob/wizardry/client/gui/GuiSpellDisplay.java index 85e2aa61..3b97ab9e 100644 --- a/src/main/java/electroblob/wizardry/client/gui/GuiSpellDisplay.java +++ b/src/main/java/electroblob/wizardry/client/gui/GuiSpellDisplay.java @@ -96,7 +96,7 @@ public class GuiSpellDisplay { // Normally when extending Gui, you'd have to have an instance to access its methods. However, we're not actually // using any of them, so this class may as well not bother and just be a static event handler. Neat! @SubscribeEvent - public static void draw(RenderGameOverlayEvent event){ + public static void draw(RenderGameOverlayEvent.Post event){ Minecraft mc = Minecraft.getMinecraft();