Fix some velocity related issues
This commit is contained in:
parent
1c831a3bcf
commit
0ccf8d37e6
6 changed files with 14 additions and 12 deletions
|
|
@ -64,6 +64,9 @@ public class BungeeCommandManager<C> extends CommandManager<C> {
|
|||
@Override
|
||||
public final boolean hasPermission(@Nonnull final C sender,
|
||||
@Nonnull final String permission) {
|
||||
if (permission.isEmpty()) {
|
||||
return true;
|
||||
}
|
||||
return this.backwardsCommandSenderMapper.apply(sender).hasPermission(permission);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue