Fix rendering ItemStacks in the advanced guis
This commit is contained in:
parent
58c7dd3d1e
commit
485a278afe
1 changed files with 1 additions and 1 deletions
|
@ -66,7 +66,7 @@ public abstract class GuiAdvancedInterface extends GuiBuildCraft {
|
||||||
int cornerY = (height - ySize) / 2;
|
int cornerY = (height - ySize) / 2;
|
||||||
|
|
||||||
itemRenderer.zLevel = 200F;
|
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.renderItemOverlayIntoGUI(fontRenderer, mc.renderEngine, item, cornerX + x, cornerY + y);
|
||||||
itemRenderer.zLevel = 0.0F;
|
itemRenderer.zLevel = 0.0F;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue