mirror of
https://github.com/mcMMO-Dev/mcMMO.git
synced 2024-11-22 05:06:45 +01:00
Don't need this anymore.
This commit is contained in:
parent
566a381e95
commit
f71b302f6f
@ -14,16 +14,6 @@ public class StringUtils {
|
||||
return target.substring(0, 1).toUpperCase() + target.substring(1).toLowerCase();
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets a nicely formatted string version of an item name from a given item ID.
|
||||
*
|
||||
* @param itemID The ID of the item to convert to string.
|
||||
* @return the nicely formatted string
|
||||
*/
|
||||
public static String getPrettyItemString(int itemID) {
|
||||
return createPrettyEnumString(Material.getMaterial(itemID).toString());
|
||||
}
|
||||
|
||||
public static String getPrettyItemString(Material material) {
|
||||
return createPrettyEnumString(material.toString());
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user