From 3b55826d70eccc512bb65e6d6fb15d8b5b55fea5 Mon Sep 17 00:00:00 2001 From: Camotoy <20743703+Camotoy@users.noreply.github.com> Date: Thu, 15 Jul 2021 18:33:49 -0400 Subject: [PATCH] Make the ByteBuf in ChunkDataTranslator allocate a more decent size --- .../translators/java/world/JavaChunkDataTranslator.java | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/connector/src/main/java/org/geysermc/connector/network/translators/java/world/JavaChunkDataTranslator.java b/connector/src/main/java/org/geysermc/connector/network/translators/java/world/JavaChunkDataTranslator.java index 1acab01a0..847a58f7e 100644 --- a/connector/src/main/java/org/geysermc/connector/network/translators/java/world/JavaChunkDataTranslator.java +++ b/connector/src/main/java/org/geysermc/connector/network/translators/java/world/JavaChunkDataTranslator.java @@ -81,7 +81,11 @@ public class JavaChunkDataTranslator extends PacketTranslator