Fix tool colors
This commit is contained in:
parent
959d878c62
commit
340c617797
1 changed files with 1 additions and 1 deletions
|
@ -712,7 +712,7 @@ public abstract class GT_MetaGenerated_Tool extends GT_MetaBase_Item implements
|
|||
@SideOnly(Side.CLIENT)
|
||||
public int getColorFromItemStack(ItemStack stack, int tintIndex) {
|
||||
IToolStats toolStats = getToolStats(stack);
|
||||
if(tintIndex == 1) {
|
||||
if(tintIndex > 1) {
|
||||
short[] colorsHead = toolStats.getRGBa(true, stack);
|
||||
if(colorsHead != null)
|
||||
return ITexture.color(colorsHead, true);
|
||||
|
|
Loading…
Reference in a new issue