mirror of
https://github.com/PaperMC/Paper.git
synced 2024-11-27 06:20:29 +08:00
SPIGOT-2321: Fully check Vanilla command permissions
This commit is contained in:
parent
042911fef4
commit
3c19fef26e
@ -492,7 +492,7 @@
|
||||
+ if ("".equals(s)) {
|
||||
+ return getBukkitEntity().isOp();
|
||||
+ }
|
||||
+ return true;
|
||||
+ return getBukkitEntity().hasPermission("minecraft.command." + s);
|
||||
+ // CraftBukkit end
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user