diff --git a/src/main/java/net/minestom/server/utils/PacketUtils.java b/src/main/java/net/minestom/server/utils/PacketUtils.java index d8d99d82e..c40933f43 100644 --- a/src/main/java/net/minestom/server/utils/PacketUtils.java +++ b/src/main/java/net/minestom/server/utils/PacketUtils.java @@ -152,6 +152,7 @@ public final class PacketUtils { private static ByteBuf createFramedPacket(@NotNull ServerPacket serverPacket) { ByteBuf packetBuf = writePacket(serverPacket); + // TODO use pooled buffers instead of unpooled ones if (MinecraftServer.getCompressionThreshold() > 0) { ByteBuf compressedBuf = Unpooled.buffer();