mirror of
https://github.com/PaperMC/Paper.git
synced 2024-11-29 11:42:55 +01:00
SPIGOT-2321: Fully check Vanilla command permissions
This commit is contained in:
parent
042911fef4
commit
3c19fef26e
1 changed files with 1 additions and 1 deletions
|
@ -492,7 +492,7 @@
|
|||
+ if ("".equals(s)) {
|
||||
+ return getBukkitEntity().isOp();
|
||||
+ }
|
||||
+ return true;
|
||||
+ return getBukkitEntity().hasPermission("minecraft.command." + s);
|
||||
+ // CraftBukkit end
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue