From ee9418998987ed5fd679b0e79c94dc01a4ab7040 Mon Sep 17 00:00:00 2001 From: montlikadani Date: Sun, 12 May 2019 17:28:21 +0200 Subject: [PATCH] Compile fix --- .../com/gamingmesh/jobs/config/NameTranslatorManager.java | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/src/main/java/com/gamingmesh/jobs/config/NameTranslatorManager.java b/src/main/java/com/gamingmesh/jobs/config/NameTranslatorManager.java index 03361561..0c5eef90 100644 --- a/src/main/java/com/gamingmesh/jobs/config/NameTranslatorManager.java +++ b/src/main/java/com/gamingmesh/jobs/config/NameTranslatorManager.java @@ -26,9 +26,6 @@ public class NameTranslatorManager { public ArrayList ListOfEnchants = new ArrayList<>(); public ArrayList 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();