diff --git a/patches/minecraft/net/minecraft/src/RenderItem.java.patch b/patches/minecraft/net/minecraft/src/RenderItem.java.patch index 129d2f19b..6aef84391 100644 --- a/patches/minecraft/net/minecraft/src/RenderItem.java.patch +++ b/patches/minecraft/net/minecraft/src/RenderItem.java.patch @@ -59,7 +59,7 @@ - { + this.loadTexture(Item.itemsList[var10.itemID].getTextureFile()); + -+ for (var15 = 0; var15 <= var10.getItem().getRenderPasses(var10.getItemDamage()); ++var15) ++ for (var15 = 0; var15 < var10.getItem().getRenderPasses(var10.getItemDamage()); ++var15) + { + this.random.setSeed(187L); //Fixes Vanilla bug where layers would not render aligns properly. var16 = var10.getItem().getIconFromDamageForRenderPass(var10.getItemDamage(), var15); @@ -77,7 +77,7 @@ - { - this.loadTexture("/gui/items.png"); - } -+ var10.getItem().getTextureFile(); ++ this.loadTexture(var10.getItem().getTextureFile()); if (this.field_77024_a) {