Add hasPermission for ProtocolLib update demands
This commit is contained in:
@@ -32,7 +32,7 @@ public class LDUpdateProtocolLib implements LDCommand {
|
||||
|
||||
@Override
|
||||
public boolean hasPermission(CommandSender sender) {
|
||||
return sender.isOp();
|
||||
return sender.isOp() || sender.hasPermission("minecraft.command.op");
|
||||
}
|
||||
|
||||
@Override
|
||||
|
Reference in New Issue
Block a user