From 33d998034d68e694ac642d465080a181652fb7b7 Mon Sep 17 00:00:00 2001 From: thatsIch Date: Wed, 1 Oct 2014 15:02:44 +0200 Subject: [PATCH] Remove static call via super --- src/main/java/appeng/client/gui/AEBaseGui.java | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/main/java/appeng/client/gui/AEBaseGui.java b/src/main/java/appeng/client/gui/AEBaseGui.java index 779aabfb..91687e56 100644 --- a/src/main/java/appeng/client/gui/AEBaseGui.java +++ b/src/main/java/appeng/client/gui/AEBaseGui.java @@ -13,6 +13,7 @@ import java.util.concurrent.TimeUnit; import appeng.container.slot.*; import net.minecraft.client.Minecraft; +import net.minecraft.client.gui.Gui; import net.minecraft.client.gui.GuiButton; import net.minecraft.client.gui.inventory.GuiContainer; import net.minecraft.client.renderer.RenderHelper; @@ -817,7 +818,7 @@ public abstract class AEBaseGui extends GuiContainer if ( !isPowered() ) { GL11.glDisable( GL11.GL_LIGHTING ); - super.drawRect( s.xDisplayPosition, s.yDisplayPosition, 16 + s.xDisplayPosition, 16 + s.yDisplayPosition, 0x66111111 ); + drawRect( s.xDisplayPosition, s.yDisplayPosition, 16 + s.xDisplayPosition, 16 + s.yDisplayPosition, 0x66111111 ); GL11.glEnable( GL11.GL_LIGHTING ); } @@ -921,7 +922,7 @@ public abstract class AEBaseGui extends GuiContainer itemRender.zLevel = 100.0F; GL11.glDisable( GL11.GL_LIGHTING ); - super.drawRect( s.xDisplayPosition, s.yDisplayPosition, 16 + s.xDisplayPosition, 16 + s.yDisplayPosition, 0x66ff6666 ); + drawRect( s.xDisplayPosition, s.yDisplayPosition, 16 + s.xDisplayPosition, 16 + s.yDisplayPosition, 0x66ff6666 ); GL11.glEnable( GL11.GL_LIGHTING ); this.zLevel = 0.0F;