From 3c19fef26eb34a5e046a0a31e722b3f003f853d0 Mon Sep 17 00:00:00 2001 From: md_5 Date: Thu, 26 May 2016 21:06:28 +1000 Subject: [PATCH] SPIGOT-2321: Fully check Vanilla command permissions --- nms-patches/EntityPlayer.patch | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nms-patches/EntityPlayer.patch b/nms-patches/EntityPlayer.patch index 922ce37da5..7d60d0b3c7 100644 --- a/nms-patches/EntityPlayer.patch +++ b/nms-patches/EntityPlayer.patch @@ -492,7 +492,7 @@ + if ("".equals(s)) { + return getBukkitEntity().isOp(); + } -+ return true; ++ return getBukkitEntity().hasPermission("minecraft.command." + s); + // CraftBukkit end }