diff --git a/src/main/gg/frog/mc/permissionstime/config/PackagesCfg.java b/src/main/gg/frog/mc/permissionstime/config/PackagesCfg.java index 786c5e4..5c53bfe 100644 --- a/src/main/gg/frog/mc/permissionstime/config/PackagesCfg.java +++ b/src/main/gg/frog/mc/permissionstime/config/PackagesCfg.java @@ -90,13 +90,12 @@ public class PackagesCfg extends PluginConfig { ItemStack items = new ItemStack(type, 1, (short) 0, (byte) exid); ItemMeta meta = items.getItemMeta(); meta.setDisplayName(StrUtil.messageFormat(ppb.getDisplayName() + "&r(" + name + ")")); - if (ppb.getLores().size() > 0) { - List lores = new ArrayList(); - for (String lore : ppb.getLores()) { - lores.add(StrUtil.messageFormat(lore)); - } - meta.setLore(lores); + List lores = new ArrayList(); + for (String lore : ppb.getLores()) { + lores.add(StrUtil.messageFormat(lore)); } + lores.add(""); + meta.setLore(lores); items.setItemMeta(meta); return items; } diff --git a/src/main/gg/frog/mc/permissionstime/gui/PlayerPermissionShow.java b/src/main/gg/frog/mc/permissionstime/gui/PlayerPermissionShow.java index 0df6f11..6f9bd6f 100644 --- a/src/main/gg/frog/mc/permissionstime/gui/PlayerPermissionShow.java +++ b/src/main/gg/frog/mc/permissionstime/gui/PlayerPermissionShow.java @@ -22,7 +22,6 @@ public class PlayerPermissionShow { if (item != null) { ItemMeta meta = item.getItemMeta(); List lores = meta.getLore(); - lores.add(""); lores.add(StrUtil.messageFormat(LangCfg.EXPIRATION_DATE, StrUtil.timestampToString(pdb.getExpire()))); meta.setLore(lores); item.setItemMeta(meta);