mirror of
https://github.com/PaperMC/Paper.git
synced 2025-02-18 03:16:37 +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)) {
|
+ if ("".equals(s)) {
|
||||||
+ return getBukkitEntity().isOp();
|
+ return getBukkitEntity().isOp();
|
||||||
+ }
|
+ }
|
||||||
+ return true;
|
+ return getBukkitEntity().hasPermission("minecraft.command." + s);
|
||||||
+ // CraftBukkit end
|
+ // CraftBukkit end
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue