mirror of
https://github.com/TotalFreedomMC/TF-PlotSquared.git
synced 2025-08-08 13:33:11 +00:00
Fixes plot claim block removing on clear.
This commit is contained in:
parent
d2ef1c350a
commit
42c02b37bf
10 changed files with 31 additions and 68 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue