Skip to content

Commit

Permalink
Fix items with color rendering incorrectly.
Browse files Browse the repository at this point in the history
  • Loading branch information
LexManos committed Feb 19, 2014
1 parent 08a636c commit b01d87f
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit b01d87f

Please sign in to comment.