mirror of
https://github.com/Minestom/Minestom.git
synced 2024-12-28 03:57:50 +01:00
Flush in the current thread
Signed-off-by: TheMode <themode@outlook.fr>
This commit is contained in:
parent
f1c0c99781
commit
8c5d013990
@ -66,7 +66,7 @@ public class NettyPlayerConnection extends PlayerConnection {
|
||||
@Override
|
||||
public void update() {
|
||||
// Flush
|
||||
this.channel.eventLoop().execute(() -> channel.flush());
|
||||
this.channel.flush();
|
||||
// Network stats
|
||||
super.update();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user