Fix tool colors

This commit is contained in:
David Vierra 2017-01-20 21:18:49 -10:00
parent 959d878c62
commit 340c617797

View file

@ -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);