mirror of
https://github.com/IntellectualSites/PlotSquared.git
synced 2024-11-24 14:16:44 +01:00
Don't fire 'PlotUnlinkEvent' twice on plot clear
This commit is contained in:
parent
0dd8b1053c
commit
dbd900f8c3
@ -106,7 +106,6 @@ public class Clear extends Command {
|
||||
BackupManager.backup(player, plot, () -> {
|
||||
final long start = System.currentTimeMillis();
|
||||
boolean result = plot.getPlotModificationManager().clear(true, false, player, () -> {
|
||||
plot.getPlotModificationManager().unlink();
|
||||
TaskManager.runTask(() -> {
|
||||
plot.removeRunning();
|
||||
// If the state changes, then mark it as no longer done
|
||||
|
Loading…
Reference in New Issue
Block a user