Fixed render passes for EntityItems

Should be < instead of <=
This commit is contained in:
CovertJaguar 2013-01-18 12:06:29 -08:00
parent 1155235d92
commit 78a3d1a656

View file

@ -92,7 +92,7 @@
- for (var15 = 0; var15 <= 1; ++var15) - 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.loadTexture(Item.itemsList[var10.itemID].getTextureFile());
this.random.setSeed(187L); this.random.setSeed(187L);