aboutsummaryrefslogtreecommitdiff
path: root/src/Java/gtPlusPlus/core/item/base
diff options
context:
space:
mode:
authorAlkalus <draknyte1@hotmail.com>2017-07-18 15:52:42 +1000
committerAlkalus <draknyte1@hotmail.com>2017-07-18 15:52:42 +1000
commit01dce237960e968a46880b425cdd935042cc3c78 (patch)
treef9ac7f5f5892445ed28d9cf6cb40a0efa62f2e7b /src/Java/gtPlusPlus/core/item/base
parent8554b8d578710c0a4e897c5a16abdbd766f5e03c (diff)
downloadGT5-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/base')
-rw-r--r--src/Java/gtPlusPlus/core/item/base/BaseItemComponent.java7
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){