Mirror von
https://github.com/TheSilentPro/HeadDB.git
synchronisiert 2024-12-27 11:20:05 +01:00
Localized lore
Dieser Commit ist enthalten in:
Ursprung
169e0e86ff
Commit
9201d497f7
@ -183,7 +183,7 @@ public class InventoryUtils {
|
||||
ItemMeta meta = item.getItemMeta();
|
||||
meta.setDisplayName(Utils.colorize(localization.getMessage("menu.heads." + category.getName())));
|
||||
List<String> lore = new ArrayList<>();
|
||||
lore.add(Utils.colorize("&e" + HeadAPI.getHeads(category).size() + " heads"));
|
||||
lore.add(Utils.colorize(localization.getMessage("menu.lore").replace("%size%", String.valueOf(HeadAPI.getHeads(category).size()))));
|
||||
meta.setLore(lore);
|
||||
item.setItemMeta(meta);
|
||||
inventory.setItem(getUILocation(category.getName(), category.getLocation()), item);
|
||||
|
@ -11,6 +11,7 @@ menu:
|
||||
search: "&c&lHeadDB &8- &eSearch: %search%"
|
||||
favorites: "&c&lHeadDB &8- &eFavorites: %player%"
|
||||
local: "&c&lHeadDB &8- &aLocal Heads &7(%size%)"
|
||||
lore: "&e%size% heads"
|
||||
heads:
|
||||
alphabet: "&e&lALPHABET"
|
||||
animals: "&3&lANIMALS"
|
||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren