Receive only RenderGameOverlayEvent.Post, not both

This commit is contained in:
Electroblob77
2020-03-29 16:55:04 +01:00
parent 849066de8a
commit 885e58c85c
@@ -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();