mirror of
https://github.com/plexusorg/Plex-FAWE.git
synced 2025-07-13 14:58:35 +00:00
@ -840,12 +840,16 @@ public class LocalSession implements TextureHolder {
|
||||
}
|
||||
|
||||
/**
|
||||
* Ensure the player's clipboard is closed. (will only do something with clipboard-on-disk)
|
||||
* Ensure the player's clipboard is flushed. (will only do something with clipboard-on-disk)
|
||||
*/
|
||||
public void closeClipboard() {
|
||||
public void flushClipboard() {
|
||||
synchronized (clipboardLock) {
|
||||
if (this.clipboard != null) {
|
||||
this.clipboard.close();
|
||||
try {
|
||||
this.clipboard.flush();
|
||||
} catch (IOException e) {
|
||||
e.printStackTrace();
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user