mirror of
https://github.com/BGHDDevelopment/PlayerBalancer.git
synced 2024-11-25 12:15:12 +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