aboutsummaryrefslogtreecommitdiff
path: root/src/Java/gtPlusPlus/core/util
diff options
context:
space:
mode:
authordraknyte1 <draknyte1@hotmail.com>2017-02-24 18:09:08 +1000
committerdraknyte1 <draknyte1@hotmail.com>2017-02-24 18:09:08 +1000
commit0e86a46abd45cb15cb90799d2d196ddf2f71ccc5 (patch)
tree2bfb45e613dd6bc58c48259d106a2c0588decd3b /src/Java/gtPlusPlus/core/util
parent31bf8ea23313e4eab2db072a35467c6e68d04932 (diff)
downloadGT5-Unofficial-0e86a46abd45cb15cb90799d2d196ddf2f71ccc5.tar.gz
GT5-Unofficial-0e86a46abd45cb15cb90799d2d196ddf2f71ccc5.tar.bz2
GT5-Unofficial-0e86a46abd45cb15cb90799d2d196ddf2f71ccc5.zip
% More Tooltips cleaned up.
+ Added a boolean to check if DreamCraft is installed (Which will only ever be true if you're playing GT:NH).
Diffstat (limited to 'src/Java/gtPlusPlus/core/util')
-rw-r--r--src/Java/gtPlusPlus/core/util/materials/MaterialUtils.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Java/gtPlusPlus/core/util/materials/MaterialUtils.java b/src/Java/gtPlusPlus/core/util/materials/MaterialUtils.java
index 8e821cd850..680ce004b9 100644
--- a/src/Java/gtPlusPlus/core/util/materials/MaterialUtils.java
+++ b/src/Java/gtPlusPlus/core/util/materials/MaterialUtils.java
@@ -53,7 +53,7 @@ public class MaterialUtils {
boolean blastFurnace = material.mBlastFurnaceRequired;
int durability = material.mDurability;
MaterialState materialState;
- String chemicalFormula = MaterialUtils.subscript(material.mChemicalFormula);
+ String chemicalFormula = MaterialUtils.subscript(Utils.sanitizeString(material.mChemicalFormula));
Element element = material.mElement;
int radioactivity = 0;
if (material.isRadioactive()){