mirror of
https://e.coding.net/circlecloud/YumCore.git
synced 2025-09-02 11:36:59 +00:00
@ -201,7 +201,7 @@ public class CommandInfo {
|
||||
}
|
||||
}
|
||||
final String perm = command.permission();
|
||||
if (perm != null && !sender.hasPermission(perm)) {
|
||||
if (perm != null && !"".equals(perm) && !sender.hasPermission(perm)) {
|
||||
Log.toSender(sender, String.format(losePerm, perm));
|
||||
return false;
|
||||
}
|
||||
|
Reference in New Issue
Block a user