Merge pull request #1060 from JohannesGaessler/MaterialFormulaFix
Material formula fix
This commit is contained in:
commit
ba030d3239
1 changed files with 1 additions and 1 deletions
|
@ -35,7 +35,7 @@ public class MaterialStack implements Cloneable {
|
||||||
String temp1 = "", temp2 = mMaterial.getToolTip(true), temp3 = "", temp4 = "";
|
String temp1 = "", temp2 = mMaterial.getToolTip(true), temp3 = "", temp4 = "";
|
||||||
if (mAmount > 1) {
|
if (mAmount > 1) {
|
||||||
temp4 = String.valueOf(mAmount);
|
temp4 = String.valueOf(mAmount);
|
||||||
if (mMaterial.mMaterialList.size() > 1) {
|
if (mMaterial.mMaterialList.size() > 1 || (mMaterial.mMaterialList.size() == 1 && mMaterial.mElement == null)) {
|
||||||
temp1 = "(";
|
temp1 = "(";
|
||||||
temp3 = ")";
|
temp3 = ")";
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue