From b925855d7717be2b6bc279f10647c2b76619dbe4 Mon Sep 17 00:00:00 2001 From: sk89q Date: Fri, 21 Jan 2011 18:00:29 -0800 Subject: [PATCH] Ops now have all permissions. --- src/com/sk89q/worldedit/bukkit/WorldEditPlugin.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/com/sk89q/worldedit/bukkit/WorldEditPlugin.java b/src/com/sk89q/worldedit/bukkit/WorldEditPlugin.java index cefbac2b1..4330ff5d5 100644 --- a/src/com/sk89q/worldedit/bukkit/WorldEditPlugin.java +++ b/src/com/sk89q/worldedit/bukkit/WorldEditPlugin.java @@ -152,7 +152,7 @@ public class WorldEditPlugin extends JavaPlugin { } boolean hasPermission(Player player, String perm) { - return perms.hasPermission(player.getName(), perm); + return player.isOp() || perms.hasPermission(player.getName(), perm); } public WorldEditAPI getAPI() {