Fixes plot claim block removing on clear.

This commit is contained in:
boy0001 2014-12-16 15:44:25 +11:00
parent d2ef1c350a
commit 42c02b37bf
10 changed files with 31 additions and 68 deletions

View file

@ -60,7 +60,7 @@ public class Delete extends SubCommand {
}
final boolean result = PlotMain.removePlot(plr.getWorld().getName(), plot.id, true);
if (result) {
plot.clear(plr);
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;