Ops now have all permissions.

This commit is contained in:
sk89q 2011-01-21 18:00:29 -08:00
parent 1568c3f890
commit b925855d77

View File

@ -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() {