mirror of
https://github.com/plexusorg/Plex-FAWE.git
synced 2024-12-23 01:37:37 +00:00
Merge branch 'main' into major/2.0.0/1.18
This commit is contained in:
commit
3b24a8ae8a
@ -437,12 +437,14 @@ public interface Player extends Entity, Actor {
|
|||||||
} else {
|
} else {
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
doc.close(); // Ensure closed before deletion
|
WorldEdit.getInstance().getExecutorService().submit(() -> {
|
||||||
doc.getFile().delete();
|
doc.close(); // Ensure closed before deletion
|
||||||
|
doc.getFile().delete();
|
||||||
|
});
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
} else if (Settings.settings().CLIPBOARD.DELETE_ON_LOGOUT || Settings.settings().CLIPBOARD.USE_DISK) {
|
} else if (Settings.settings().CLIPBOARD.DELETE_ON_LOGOUT || Settings.settings().CLIPBOARD.USE_DISK) {
|
||||||
session.setClipboard(null);
|
WorldEdit.getInstance().getExecutorService().submit(() -> session.setClipboard(null));
|
||||||
}
|
}
|
||||||
if (Settings.settings().HISTORY.DELETE_ON_LOGOUT) {
|
if (Settings.settings().HISTORY.DELETE_ON_LOGOUT) {
|
||||||
session.clearHistory();
|
session.clearHistory();
|
||||||
|
Loading…
Reference in New Issue
Block a user