Fixed armor rendering
This commit is contained in:
parent
018c67d969
commit
93c1c737e1
1 changed files with 1 additions and 1 deletions
|
@ -15,7 +15,7 @@
|
|||
- case LEATHER:
|
||||
int i = itemarmor.getColor(itemstack);
|
||||
+ {
|
||||
+ if (i != -1) // Allow this for anything, not only cloth
|
||||
+ if (i != 0xFFFFFF) // Allow this for anything, not only cloth
|
||||
+ {
|
||||
float f = (float)(i >> 16 & 255) / 255.0F;
|
||||
float f1 = (float)(i >> 8 & 255) / 255.0F;
|
||||
|
|
Loading…
Reference in a new issue