mirror of
https://github.com/TotalFreedomMC/TF-PlotSquared.git
synced 2024-12-23 00:15:06 +00:00
Fix mismatch of brackets
This could potentially cause problems because the permission check is not correct
This commit is contained in:
parent
a1eec4eb0c
commit
0a4e42e1a7
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue