1
0
mirror of https://e.coding.net/circlecloud/Residence.git synced 2025-11-26 22:06:07 +00:00

add checkworld...

Signed-off-by: j502647092 <jtb1@163.com>
This commit is contained in:
j502647092
2015-10-02 01:03:23 +08:00
parent b2216eb812
commit ad4f3bd6da
2 changed files with 41 additions and 0 deletions

View File

@@ -28,9 +28,11 @@ public class CommandCheckSelf extends BaseCommand {
case 0:
player.sendMessage("§e权限列表: ");
perm.printFlags(player);
return;
case 1:
final String flag = args[0];
player.sendMessage("§e权限检查: §a" + flag + " " + (perm.checkValidFlag(flag, false) ? "§atrue" : "§cfalse"));
return;
}
}