1
1
mirror of https://github.com/geekfrog/PermissionsTime.git synced 2025-09-08 15:33:35 +00:00

提示剩余时间

This commit is contained in:
2017-07-26 20:41:52 +08:00
parent de87f66f06
commit 2523df87e1
10 changed files with 34 additions and 13 deletions

View File

@ -298,7 +298,7 @@ public class PermissionPackageBean implements IConfigBean {
public void run() {
Player p = player.getPlayer();
if (p != null) {
p.sendMessage(StrUtil.messageFormat(PluginCfg.PLUGIN_PREFIX + "&4你的权限包: &r{0}({1}), 已到期.", packageBean != null ? packageBean.getDisplayName() : LangCfg.MSG_UNKNOWN_PACKAGE, playerData.getPackageName()));
p.sendMessage(StrUtil.messageFormat(PluginCfg.PLUGIN_PREFIX + LangCfg.MSG_IS_EXPIRATION_DATE, packageBean != null ? packageBean.getDisplayName() : LangCfg.MSG_UNKNOWN_PACKAGE, playerData.getPackageName()));
}
}
});