mirror of
https://github.com/BGHDDevelopment/PlayerBalancer.git
synced 2024-11-29 06:05:16 +01:00
Merge pull request #45 from HappyAreaBean/master
This commit is contained in:
commit
0cb72aa73d
@ -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