diff --git a/patches/minecraft/net/minecraft/src/ItemRenderer.java.patch b/patches/minecraft/net/minecraft/src/ItemRenderer.java.patch index 849681a31..b2a06cd11 100644 --- a/patches/minecraft/net/minecraft/src/ItemRenderer.java.patch +++ b/patches/minecraft/net/minecraft/src/ItemRenderer.java.patch @@ -95,7 +95,7 @@ - this.renderItem(var3, var17, 1); + for (int x = 1; x < var17.getItem().getRenderPasses(var17.getItemDamage()); x++) + { -+ int var25 = Item.itemsList[var17.itemID].getColorFromDamage(var17.getItemDamage(), 1); ++ int var25 = Item.itemsList[var17.itemID].getColorFromDamage(var17.getItemDamage(), x); + var13 = (float)(var25 >> 16 & 255) / 255.0F; + var14 = (float)(var25 >> 8 & 255) / 255.0F; + var15 = (float)(var25 & 255) / 255.0F;