This commit is contained in:
Jesse Boyd 2015-01-18 12:11:51 -08:00
parent d958f57375
commit ad22db3290
10 changed files with 448 additions and 24 deletions

View file

@ -65,9 +65,6 @@ public class Delete extends SubCommand {
if (result) {
plot.clear(plr, true);
DBFunc.delete(plr.getWorld().getName(), plot);
if ((Math.abs(plot.id.x) <= Math.abs(Auto.lastPlot.x)) && (Math.abs(plot.id.y) <= Math.abs(Auto.lastPlot.y))) {
Auto.lastPlot = plot.id;
}
} else {
PlayerFunctions.sendMessage(plr, "Plot deletion has been denied.");
}