mirror of
https://github.com/Minestom/Minestom.git
synced 2024-09-18 17:51:06 +02: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
|
@Override
|
||||||
public void update() {
|
public void update() {
|
||||||
// Flush
|
// Flush
|
||||||
this.channel.eventLoop().execute(() -> channel.flush());
|
this.channel.flush();
|
||||||
// Network stats
|
// Network stats
|
||||||
super.update();
|
super.update();
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user