From 340c617797a91b86e94f94bf720c4bda5ce6c2bc Mon Sep 17 00:00:00 2001 From: David Vierra Date: Fri, 20 Jan 2017 21:18:49 -1000 Subject: [PATCH] Fix tool colors --- src/main/java/gregtech/api/items/GT_MetaGenerated_Tool.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/gregtech/api/items/GT_MetaGenerated_Tool.java b/src/main/java/gregtech/api/items/GT_MetaGenerated_Tool.java index c7d2925d..b80a4e30 100644 --- a/src/main/java/gregtech/api/items/GT_MetaGenerated_Tool.java +++ b/src/main/java/gregtech/api/items/GT_MetaGenerated_Tool.java @@ -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);