mirror of
https://github.com/aikar/commands.git
synced 2026-05-31 06:11:55 +00:00
Unnecessary trim
This commit is contained in:
@@ -343,7 +343,6 @@ public abstract class CommandManager<
|
||||
//handle pipe as an OR operation
|
||||
if (permission.contains("|")) {
|
||||
for (String perm : ACFPatterns.PIPE.split(permission)) {
|
||||
perm = perm.trim();
|
||||
if (!perm.isEmpty() && issuer.hasPermission(perm)) {
|
||||
return true;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user