Merge pull request #45 from HappyAreaBean/master

This commit is contained in:
Stephan 2024-07-01 14:57:56 -07:00 committed by GitHub
commit 0cb72aa73d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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