Flush in the current thread

Signed-off-by: TheMode <themode@outlook.fr>
This commit is contained in:
TheMode 2020-11-20 13:48:45 +01:00
parent f1c0c99781
commit 8c5d013990

View File

@ -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();
}