Fix rendering ItemStacks in the advanced guis

This commit is contained in:
Christian 2012-10-24 22:13:39 -04:00
parent 58c7dd3d1e
commit 485a278afe

View file

@ -66,7 +66,7 @@ public abstract class GuiAdvancedInterface extends GuiBuildCraft {
int cornerY = (height - ySize) / 2;
itemRenderer.zLevel = 200F;
itemRenderer.renderItemIntoGUI(fontRenderer, mc.renderEngine, item, cornerX + x, cornerY + y);
itemRenderer.func_82406_b(fontRenderer, mc.renderEngine, item, cornerX + x, cornerY + y);
itemRenderer.renderItemOverlayIntoGUI(fontRenderer, mc.renderEngine, item, cornerX + x, cornerY + y);
itemRenderer.zLevel = 0.0F;
}