diff options
author | Alkalus <draknyte1@hotmail.com> | 2017-07-18 15:52:42 +1000 |
---|---|---|
committer | Alkalus <draknyte1@hotmail.com> | 2017-07-18 15:52:42 +1000 |
commit | 01dce237960e968a46880b425cdd935042cc3c78 (patch) | |
tree | f9ac7f5f5892445ed28d9cf6cb40a0efa62f2e7b /src/Java/gtPlusPlus/core/item | |
parent | 8554b8d578710c0a4e897c5a16abdbd766f5e03c (diff) | |
download | GT5-Unofficial-01dce237960e968a46880b425cdd935042cc3c78.tar.gz GT5-Unofficial-01dce237960e968a46880b425cdd935042cc3c78.tar.bz2 GT5-Unofficial-01dce237960e968a46880b425cdd935042cc3c78.zip |
+ Added a missed texture for base components.
Diffstat (limited to 'src/Java/gtPlusPlus/core/item')
-rw-r--r-- | src/Java/gtPlusPlus/core/item/base/BaseItemComponent.java | 7 |
1 files changed, 5 insertions, 2 deletions
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){ |