geforkt von Mirrors/HeadDB
Localized lore
Dieser Commit ist enthalten in:
Ursprung
169e0e86ff
Commit
9201d497f7
@ -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("&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);
|
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);
|
||||||
|
@ -11,6 +11,7 @@ menu:
|
|||||||
search: "&c&lHeadDB &8- &eSearch: %search%"
|
search: "&c&lHeadDB &8- &eSearch: %search%"
|
||||||
favorites: "&c&lHeadDB &8- &eFavorites: %player%"
|
favorites: "&c&lHeadDB &8- &eFavorites: %player%"
|
||||||
local: "&c&lHeadDB &8- &aLocal Heads &7(%size%)"
|
local: "&c&lHeadDB &8- &aLocal Heads &7(%size%)"
|
||||||
|
lore: "&e%size% heads"
|
||||||
heads:
|
heads:
|
||||||
alphabet: "&e&lALPHABET"
|
alphabet: "&e&lALPHABET"
|
||||||
animals: "&3&lANIMALS"
|
animals: "&3&lANIMALS"
|
||||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren