Receive only RenderGameOverlayEvent.Post, not both
This commit is contained in:
@@ -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
|
// 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!
|
// using any of them, so this class may as well not bother and just be a static event handler. Neat!
|
||||||
@SubscribeEvent
|
@SubscribeEvent
|
||||||
public static void draw(RenderGameOverlayEvent event){
|
public static void draw(RenderGameOverlayEvent.Post event){
|
||||||
|
|
||||||
Minecraft mc = Minecraft.getMinecraft();
|
Minecraft mc = Minecraft.getMinecraft();
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user