mirror of
https://github.com/TotalFreedomMC/TF-PlotSquared.git
synced 2025-08-09 22:13:12 +00:00
plot condensing/purge and command confirmation bypass
This commit is contained in:
parent
37e638acad
commit
debbb50e1d
7 changed files with 32 additions and 17 deletions
|
@ -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 {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue