SPIGOT-2321: Fully check Vanilla command permissions

By: md_5 <git@md-5.net>
This commit is contained in:
CraftBukkit/Spigot 2016-05-26 21:06:28 +10:00
parent 69c6c3d92c
commit 187015b57b

View file

@ -492,7 +492,7 @@
+ if ("".equals(s)) {
+ return getBukkitEntity().isOp();
+ }
+ return true;
+ return getBukkitEntity().hasPermission("minecraft.command." + s);
+ // CraftBukkit end
}