Fix mismatch of brackets

This could potentially cause problems because the permission check is not correct
This commit is contained in:
manuelgu 2016-02-13 18:45:35 +01:00
parent a1eec4eb0c
commit 0a4e42e1a7

View file

@ -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;
}