3
0
Mirror von https://github.com/TheSilentPro/HeadDB.git synchronisiert 2024-12-28 03:40:06 +01:00

Addressed requested changes

Dieser Commit ist enthalten in:
Altruiis 2022-02-16 18:04:59 -08:00
Ursprung f655bb7f25
Commit ba556ec942

Datei anzeigen

@ -183,7 +183,7 @@ public class InventoryUtils {
ItemMeta meta = item.getItemMeta(); ItemMeta meta = item.getItemMeta();
meta.setDisplayName(Utils.colorize(localization.getMessage("menu.heads." + category.getName()))); meta.setDisplayName(Utils.colorize(localization.getMessage("menu.heads." + category.getName())));
List<String> lore = new ArrayList<>(); List<String> lore = new ArrayList<>();
lore.add(Utils.colorize(localization.getMessage("menu.lore").replace("%size%", String.valueOf(HeadAPI.getHeads(category).size())))); lore.add(Utils.colorize(replace(localization.getMessage("menu.lore"), HeadAPI.getHeads(category).size(), "Main", "None", player)));
meta.setLore(lore); meta.setLore(lore);
item.setItemMeta(meta); item.setItemMeta(meta);
inventory.setItem(getUILocation(category.getName(), category.getLocation()), item); inventory.setItem(getUILocation(category.getName(), category.getLocation()), item);