Fix items with color rendering incorrectly.
This commit is contained in:
parent
08a636c34f
commit
b01d87f0c6
1 changed files with 1 additions and 1 deletions
|
@ -60,7 +60,7 @@
|
|||
}
|
||||
|
||||
- for (int j = 0; j <= 1; ++j)
|
||||
+ for (int j = 0; j <= itemstack.getItem().getRenderPasses(itemstack.getItemDamage()); ++j)
|
||||
+ for (int j = 0; j < itemstack.getItem().getRenderPasses(itemstack.getItemDamage()); ++j)
|
||||
{
|
||||
this.random.setSeed(187L);
|
||||
- IIcon iicon1 = itemstack.getItem().getIconFromDamageForRenderPass(itemstack.getItemDamage(), j);
|
||||
|
|
Loading…
Reference in a new issue