Fix bug with rendering one too many passes for ItemEntities Closes #450
This commit is contained in:
parent
c471a9a557
commit
3b40687f55
1 changed files with 1 additions and 1 deletions
|
@ -68,7 +68,7 @@
|
|||
this.loadTexture("/gui/items.png");
|
||||
|
||||
- for (int k = 0; k <= 1; ++k)
|
||||
+ for (int k = 0; k <= itemstack.getItem().getRenderPasses(itemstack.getItemDamage()); ++k)
|
||||
+ for (int k = 0; k < itemstack.getItem().getRenderPasses(itemstack.getItemDamage()); ++k)
|
||||
{
|
||||
this.random.setSeed(187L);
|
||||
- Icon icon = itemstack.getItem().getIconFromDamageForRenderPass(itemstack.getItemDamage(), k);
|
||||
|
|
Loading…
Reference in a new issue