mirror of
https://github.com/Minestom/Minestom.git
synced 2024-11-15 15:16:46 +01:00
Merge branch 'network-caching' of https://github.com/Minestom/Minestom into network-caching
This commit is contained in:
commit
6e18d2bcfe
@ -201,7 +201,8 @@ public class NettyPlayerConnection extends PlayerConnection {
|
||||
synchronized (tickBuffer) {
|
||||
final ByteBuf copy = tickBuffer.copy();
|
||||
|
||||
ChannelFuture channelFuture = channel.write(new FramedPacket(copy)).addListener(future -> copy.release());
|
||||
ChannelFuture channelFuture = channel.write(new FramedPacket(copy));
|
||||
channelFuture.addListener(future -> copy.release());
|
||||
|
||||
// Netty debug
|
||||
if (MinecraftServer.shouldProcessNettyErrors()) {
|
||||
|
Loading…
Reference in New Issue
Block a user