This commit is contained in:
tcooc 2012-09-15 13:20:14 -05:00
parent fb86ea064a
commit 863f0184fc

View file

@ -46,8 +46,6 @@ public abstract class GuiAdvancedInterface extends GuiBuildCraft {
if (!isDefined())
return;
GL11.glDisable(GL11.GL_LIGHTING);
if (getItemStack() != null)
drawStack(getItemStack());
else if (getTexture() != null && !getTexture().equals("")) {
@ -60,7 +58,6 @@ public abstract class GuiAdvancedInterface extends GuiBuildCraft {
drawTexturedModalRect(cornerX + x, cornerY + y, 16 * textureJ, 16 * textureI, 16, 16);
}
GL11.glEnable(GL11.GL_LIGHTING);
}
public void drawStack(ItemStack item) {