OSDN Git Service

修正・変更
[chemicraft/chemicraft.git] / common / pcc / chemicraft / base / ChemiCraftBaseAPI.java
index 06d613d..5d17a5b 100644 (file)
@@ -5,6 +5,7 @@ import java.util.HashMap;
 
 import pcc.chemicraft.base.gen.EnumOreSpawnFrequency;
 import pcc.chemicraft.base.gen.WorldGenAtomsOre;
+import pcc.chemicraft.util.AtomInfo;
 import pcc.chemicraft.util.Formula;
 import pcc.chemicraft.util.ListHash;
 
@@ -61,7 +62,12 @@ public class ChemiCraftBaseAPI
                                                par5Frequency,
                                                par6PosY));
                atomOresFormulasHash.put(par1Name, par2Formula);
-               addAtomOresLanguage(par1Name, par1Name, "en_US");
+
+               String var7 = par1Name;
+               if (!var7.contains(" Ore")){
+                       var7 = var7.concat(" Ore");
+               }
+               addAtomOresLanguage(par1Name, var7, "en_US");
        }