plot condensing/purge and command confirmation bypass

This commit is contained in:
boy0001 2015-03-08 12:11:02 +11:00
parent 37e638acad
commit debbb50e1d
7 changed files with 32 additions and 17 deletions

View file

@ -83,7 +83,7 @@ public class Delete extends SubCommand {
DBFunc.delete(loc.getWorld(), plot);
}
};
if (Settings.CONFIRM_DELETE) {
if (Settings.CONFIRM_DELETE && !(Permissions.hasPermission(plr, "plots.confirm.bypass"))) {
CmdConfirm.addPending(plr, "/plot delete " + plot.id, runnable);
}
else {