mirror of
https://github.com/BGHDDevelopment/PlayerBalancer.git
synced 2024-11-17 08:15:11 +01:00
fix(velocity): section command permission check
This commit is contained in:
parent
61e00ea9f4
commit
7a53047483
@ -17,7 +17,7 @@ public class SectionCommand extends FallbackCommand {
|
||||
|
||||
@Override
|
||||
public boolean hasPermission(Invocation invocation) {
|
||||
return invocation.source().hasPermission(permission);
|
||||
return permission.isEmpty() || invocation.source().hasPermission(permission);
|
||||
}
|
||||
|
||||
@Override
|
||||
|
Loading…
Reference in New Issue
Block a user