Fixed a zLevel bug with custom item renderers.
This commit is contained in:
parent
8bb73671ba
commit
d8a14ee928
1 changed files with 1 additions and 1 deletions
|
@ -73,7 +73,7 @@
|
|||
+ renderengine.bindTexture(renderengine.getTexture(tex));
|
||||
+ Item item = Item.itemsList[i];
|
||||
+ GL11.glPushMatrix();
|
||||
+ GL11.glTranslatef(l - 2, i1 + 3, -3F);
|
||||
+ GL11.glTranslatef(l - 2, i1 + 3, -3F + zLevel);
|
||||
+ GL11.glScalef(10F, 10F, 10F);
|
||||
+ GL11.glTranslatef(1.0F, 0.5F, 1.0F);
|
||||
+ GL11.glScalef(1.0F, 1.0F, -1F);
|
||||
|
|
Loading…
Reference in a new issue