mirror of
https://github.com/IntellectualSites/PlotSquared.git
synced 2024-11-21 11:45:19 +01:00
Don't fire 'PlotUnlinkEvent' twice on plot clear (#3947)
This commit is contained in:
parent
94ca5cf679
commit
f5118e6802
@ -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