mirror of
https://github.com/plexusorg/Plex-FAWE.git
synced 2024-12-23 01:37:37 +00:00
parent
13cfd638d6
commit
318eca364d
@ -400,11 +400,10 @@ public interface Player extends Entity, Actor {
|
||||
*/
|
||||
default void unregister() {
|
||||
cancel(true);
|
||||
getSession().setClipboard(null);
|
||||
if (Settings.IMP.HISTORY.DELETE_ON_LOGOUT) {
|
||||
getSession().clearHistory();
|
||||
getSession().unregisterTools(this);
|
||||
} else if (Settings.IMP.CLIPBOARD.USE_DISK) {
|
||||
getSession().setClipboard(null);
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user