geforkt von Mirrors/FastAsyncWorldEdit
fix: Backport fixing delay closing of clipboards on quit (#1493)
Dieser Commit ist enthalten in:
Ursprung
8ab1d50f01
Commit
96ca83704a
@ -437,12 +437,14 @@ public interface Player extends Entity, Actor {
|
||||
} else {
|
||||
continue;
|
||||
}
|
||||
doc.close(); // Ensure closed before deletion
|
||||
doc.getFile().delete();
|
||||
WorldEdit.getInstance().getExecutorService().submit(() -> {
|
||||
doc.close(); // Ensure closed before deletion
|
||||
doc.getFile().delete();
|
||||
});
|
||||
}
|
||||
}
|
||||
} else if (Settings.IMP.CLIPBOARD.DELETE_ON_LOGOUT || Settings.IMP.CLIPBOARD.USE_DISK) {
|
||||
session.setClipboard(null);
|
||||
WorldEdit.getInstance().getExecutorService().submit(() -> session.setClipboard(null));
|
||||
}
|
||||
if (Settings.IMP.HISTORY.DELETE_ON_LOGOUT) {
|
||||
session.clearHistory();
|
||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren