From 01dce237960e968a46880b425cdd935042cc3c78 Mon Sep 17 00:00:00 2001 From: Alkalus Date: Tue, 18 Jul 2017 15:52:42 +1000 Subject: + Added a missed texture for base components. --- src/Java/gtPlusPlus/core/item/base/BaseItemComponent.java | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'src/Java/gtPlusPlus/core') diff --git a/src/Java/gtPlusPlus/core/item/base/BaseItemComponent.java b/src/Java/gtPlusPlus/core/item/base/BaseItemComponent.java index c77d36a4fb..4731581d83 100644 --- a/src/Java/gtPlusPlus/core/item/base/BaseItemComponent.java +++ b/src/Java/gtPlusPlus/core/item/base/BaseItemComponent.java @@ -97,6 +97,9 @@ public class BaseItemComponent extends Item{ else if (this.componentType == ComponentTypes.INGOT){ return "gregtech" + ":" + "materialicons/METALLIC/" + "ingot"; } + else if (this.componentType == ComponentTypes.HOTINGOT){ + return "gregtech" + ":" + "materialicons/METALLIC/" + "ingotHot"; + } return "gregtech" + ":" + "materialicons/METALLIC/" + this.componentType.COMPONENT_NAME.toLowerCase(); } @@ -106,7 +109,7 @@ public class BaseItemComponent extends Item{ if (this.componentType == ComponentTypes.SMALLGEAR){ return "Small " + this.materialName+" Gear"; } - + if (this.componentMaterial != null) { return (this.componentMaterial.getLocalizedName()+this.componentType.DISPLAY_NAME); } @@ -162,7 +165,7 @@ public class BaseItemComponent extends Item{ } if (this.componentMaterial != null){ if (!this.componentMaterial.vChemicalFormula.equals("??") && !this.componentMaterial.vChemicalFormula.equals("?")) { - list.add(Utils.sanitizeStringKeepBrackets(this.componentMaterial.vChemicalFormula)); + list.add(Utils.sanitizeStringKeepBrackets(this.componentMaterial.vChemicalFormula)); } if (this.componentMaterial.isRadioactive){ -- cgit