mirror of
https://github.com/songoda/FabledSkyBlock.git
synced 2024-11-23 02:35:25 +01:00
'/is level' material name formatting
This commit is contained in:
parent
0c97942596
commit
1875ae6738
@ -289,16 +289,14 @@ public class Levelling {
|
||||
lore.replaceAll(x -> x.replace("%points", NumberUtil.formatNumberByDecimal(pointsEarned))
|
||||
.replace("%blocks", NumberUtil.formatNumberByDecimal(materialAmount))
|
||||
.replace("%material",
|
||||
WordUtils.capitalize(material.toLowerCase().replace("_", " ")
|
||||
.replace("item", "").replace("block", ""))));
|
||||
WordUtils.capitalize(material.toLowerCase().replace("_", " ")).trim()));
|
||||
|
||||
nInv.addItem(nInv.createItem(is, configLoad
|
||||
.getString("Menu.Levelling.Item.Material.Displayname")
|
||||
.replace("%points", NumberUtil.formatNumberByDecimal(pointsEarned))
|
||||
.replace("%blocks", NumberUtil.formatNumberByDecimal(materialAmount))
|
||||
.replace("%material",
|
||||
WordUtils.capitalize(material.toLowerCase().replace("_", " ")
|
||||
.replace("item", "").replace("block", ""))),
|
||||
WordUtils.capitalize(material.toLowerCase().replace("_", " ")).trim()),
|
||||
lore, null, null, null), inventorySlot);
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user