mirror of
https://github.com/Minestom/Minestom.git
synced 2025-01-08 09:27:58 +01:00
Fix non released pooled buffer
This commit is contained in:
parent
0326bd1445
commit
fa61be6858
@ -153,7 +153,7 @@ public class NettyPlayerConnection extends PlayerConnection {
|
||||
timestamp > timedBuffer.getTimestamp();
|
||||
|
||||
if (shouldUpdate) {
|
||||
final ByteBuf buffer = PacketUtils.createFramedPacket(serverPacket, true);
|
||||
final ByteBuf buffer = PacketUtils.createFramedPacket(serverPacket, false);
|
||||
TimedBuffer oldBuffer = timedBuffer;
|
||||
timedBuffer = new TimedBuffer(buffer, timestamp);
|
||||
temporaryCache.cache(identifier, timedBuffer);
|
||||
|
Loading…
Reference in New Issue
Block a user