mirror of
				https://e.coding.net/circlecloud/YumCore.git
				synced 2025-11-03 23:06:02 +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