From 0a4e42e1a76baad9f2cca9853d7f024e2977a886 Mon Sep 17 00:00:00 2001 From: manuelgu Date: Sat, 13 Feb 2016 18:45:35 +0100 Subject: [PATCH] Fix mismatch of brackets This could potentially cause problems because the permission check is not correct --- .../java/com/intellectualcrafters/plot/commands/Continue.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/com/intellectualcrafters/plot/commands/Continue.java b/src/main/java/com/intellectualcrafters/plot/commands/Continue.java index d096ae1d6..666a6b541 100644 --- a/src/main/java/com/intellectualcrafters/plot/commands/Continue.java +++ b/src/main/java/com/intellectualcrafters/plot/commands/Continue.java @@ -45,7 +45,7 @@ public class Continue extends SubCommand { if ((plot == null) || !plot.hasOwner()) { return !sendMessage(plr, C.NOT_IN_PLOT); } - if ((!plot.isOwner(plr.getUUID())) && !Permissions.hasPermission(plr, "plots.admin.command.continue")) { + if (!plot.isOwner(plr.getUUID()) && !Permissions.hasPermission(plr, "plots.admin.command.continue")) { MainUtil.sendMessage(plr, C.NO_PLOT_PERMS); return false; }