From 3ed78d7db0e0ecb29ac1c32fceab672b481a7f5a Mon Sep 17 00:00:00 2001 From: GeekFrog Date: Sun, 16 Jul 2017 06:21:57 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B7=BB=E5=8A=A0=E5=88=B0=E6=9C=9F=E6=97=B6?= =?UTF-8?q?=E9=97=B4=E6=98=BE=E7=A4=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../gg/frog/mc/permissionstime/gui/PlayerPermissionShow.java | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/main/gg/frog/mc/permissionstime/gui/PlayerPermissionShow.java b/src/main/gg/frog/mc/permissionstime/gui/PlayerPermissionShow.java index 0907ff6..51a088e 100644 --- a/src/main/gg/frog/mc/permissionstime/gui/PlayerPermissionShow.java +++ b/src/main/gg/frog/mc/permissionstime/gui/PlayerPermissionShow.java @@ -19,6 +19,9 @@ public class PlayerPermissionShow { ItemStack item = PackagesCfg.PACKAGE_ITEMS.get(pdb.getPackageName()); if (item != null) { inventory.addItem(item); + List lores = item.getItemMeta().getLore(); + lores.add(""); + lores.add(StrUtil.messageFormat("&4到期时间: {0}", StrUtil.timestampToString(pdb.getExpire()))); } } p.openInventory(inventory);