Added cleaner number formatting.

This commit is contained in:
Brianna 2019-05-07 20:36:57 -04:00
parent e54f879008
commit 622dfc62a0
1 changed files with 1 additions and 1 deletions

View File

@ -70,7 +70,7 @@ public class GUIOverview extends AbstractGUI {
? Material.PLAYER_HEAD : Material.valueOf("SKULL_ITEM"), 1, (byte) 3),
plugin.getHeadManager().getHeadsByTag(tag).get(0).getURL()),
plugin.getLocale().getMessage("gui.overview.headname", Color.getRandomColor() + tag.getName()),
plugin.getLocale().getMessage("gui.overview.headlore", tag.getCount()));
plugin.getLocale().getMessage("gui.overview.headlore", String.format("%,d", tag.getCount())));
registerClickable(i + 10 + add, ((player1, inventory1, cursor, slot, type) ->
new GUIHeads(plugin, player, null, plugin.getHeadManager().getHeadsByTag(tag))));