SPIGOT-2321: Fully check Vanilla command permissions

This commit is contained in:
md_5 2016-05-26 21:06:28 +10:00
parent 042911fef4
commit 3c19fef26e

View file

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