mirror of
https://github.com/Zrips/Jobs.git
synced 2024-11-25 20:16:13 +01:00
Compile fix
This commit is contained in:
parent
4e47bf2f4f
commit
ee94189989
@ -26,9 +26,6 @@ public class NameTranslatorManager {
|
|||||||
public ArrayList<NameList> ListOfEnchants = new ArrayList<>();
|
public ArrayList<NameList> ListOfEnchants = new ArrayList<>();
|
||||||
public ArrayList<NameList> ListOfColors = new ArrayList<>();
|
public ArrayList<NameList> ListOfColors = new ArrayList<>();
|
||||||
|
|
||||||
public NameTranslatorManager() {
|
|
||||||
}
|
|
||||||
|
|
||||||
public String Translate(String materialName, JobInfo info) {
|
public String Translate(String materialName, JobInfo info) {
|
||||||
// Translating name to user friendly
|
// Translating name to user friendly
|
||||||
if (Jobs.getGCManager().UseCustomNames)
|
if (Jobs.getGCManager().UseCustomNames)
|
||||||
@ -498,7 +495,7 @@ public class NameTranslatorManager {
|
|||||||
}*/
|
}*/
|
||||||
|
|
||||||
for (CMIPotionType one : CMIPotionType.values()) {
|
for (CMIPotionType one : CMIPotionType.values()) {
|
||||||
String n = String.valueOf(one.getSubId());
|
String n = String.valueOf(one.getId());
|
||||||
|
|
||||||
String name = null;
|
String name = null;
|
||||||
|
|
||||||
@ -514,7 +511,7 @@ public class NameTranslatorManager {
|
|||||||
if (name == null)
|
if (name == null)
|
||||||
name = one.getName();
|
name = one.getName();
|
||||||
|
|
||||||
c.get("PotionNamesList." + one.getSubId() + "-" + one.toString(), name);
|
c.get("PotionNamesList." + one.getId() + "-" + one.toString(), name);
|
||||||
}
|
}
|
||||||
|
|
||||||
c.save();
|
c.save();
|
||||||
|
Loading…
Reference in New Issue
Block a user