mirror of
https://github.com/PaperMC/Paper.git
synced 2025-01-25 09:41:29 +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
@ -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