1
0
mirror of https://github.com/Zrips/Jobs.git synced 2024-11-25 20:16:13 +01:00

Compile fix

This commit is contained in:
montlikadani 2019-05-12 17:28:21 +02:00
parent 4e47bf2f4f
commit ee94189989

View File

@ -26,9 +26,6 @@ public class NameTranslatorManager {
public ArrayList<NameList> ListOfEnchants = new ArrayList<>();
public ArrayList<NameList> ListOfColors = new ArrayList<>();
public NameTranslatorManager() {
}
public String Translate(String materialName, JobInfo info) {
// Translating name to user friendly
if (Jobs.getGCManager().UseCustomNames)
@ -498,7 +495,7 @@ public class NameTranslatorManager {
}*/
for (CMIPotionType one : CMIPotionType.values()) {
String n = String.valueOf(one.getSubId());
String n = String.valueOf(one.getId());
String name = null;
@ -514,7 +511,7 @@ public class NameTranslatorManager {
if (name == null)
name = one.getName();
c.get("PotionNamesList." + one.getSubId() + "-" + one.toString(), name);
c.get("PotionNamesList." + one.getId() + "-" + one.toString(), name);
}
c.save();