parent
aa6c0be984
commit
5f19f7d026
|
@ -36,9 +36,9 @@ public enum Lang {
|
|||
}
|
||||
|
||||
public static String getMaterialName(Material material) {
|
||||
String name = material.name();
|
||||
String name = getMaterialKey(material);
|
||||
name = name.replaceAll("_", " ");
|
||||
name = WordUtils.capitalize(name.toLowerCase());
|
||||
name = WordUtils.capitalize(name);
|
||||
return name;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue