Skip to content

Commit

Permalink
Fixed render passes for EntityItems
Browse files Browse the repository at this point in the history
Should be < instead of <=
  • Loading branch information
CovertJaguar committed Jan 18, 2013
1 parent 1155235 commit 78a3d1a
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@
- for (var15 = 0; var15 <= 1; ++var15)
- {
+
+ for (var15 = 0; var15 <= var10.getItem().getRenderPasses(var10.getItemDamage()); ++var15)
+ for (var15 = 0; var15 < var10.getItem().getRenderPasses(var10.getItemDamage()); ++var15)
+ {
+ this.loadTexture(Item.itemsList[var10.itemID].getTextureFile());
this.random.setSeed(187L);
Expand Down

0 comments on commit 78a3d1a

Please sign in to comment.