mirror of
https://github.com/PaperMC/Paper.git
synced 2025-01-24 01:06:01 +01:00
SPIGOT-2321: Fully check Vanilla command permissions
By: md_5 <git@md-5.net>
This commit is contained in:
parent
69c6c3d92c
commit
187015b57b
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…
Add table
Reference in a new issue