summaryrefslogtreecommitdiffstats
path: root/nms-patches/EntityPlayer.patch
diff options
context:
space:
mode:
Diffstat (limited to 'nms-patches/EntityPlayer.patch')
-rw-r--r--nms-patches/EntityPlayer.patch2
1 files changed, 1 insertions, 1 deletions
diff --git a/nms-patches/EntityPlayer.patch b/nms-patches/EntityPlayer.patch
index 922ce37d..7d60d0b3 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
}