From d19bf07b7a74c7a7b5d9204baf2cf599269caf6c Mon Sep 17 00:00:00 2001 From: Camotoy <20743703+Camotoy@users.noreply.github.com> Date: Mon, 8 Mar 2021 16:42:41 -0500 Subject: [PATCH] Don't allocate the entire block size --- .../network/translators/world/block/BlockTranslator.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/connector/src/main/java/org/geysermc/connector/network/translators/world/block/BlockTranslator.java b/connector/src/main/java/org/geysermc/connector/network/translators/world/block/BlockTranslator.java index e23c56ee5..2dd455958 100644 --- a/connector/src/main/java/org/geysermc/connector/network/translators/world/block/BlockTranslator.java +++ b/connector/src/main/java/org/geysermc/connector/network/translators/world/block/BlockTranslator.java @@ -118,7 +118,7 @@ public class BlockTranslator { throw new AssertionError("Unable to get blocks from runtime block states", e); } - JAVA_IDENTIFIER_TO_BEDROCK_TAG = new Object2ObjectOpenHashMap<>(blocksTag.size()); + JAVA_IDENTIFIER_TO_BEDROCK_TAG = new Object2ObjectOpenHashMap<>(); // New since 1.16.100 - find the block runtime ID by the order given to us in the block palette, // as we no longer send a block palette