Don't allocate the entire block size

This commit is contained in:
Camotoy 2021-03-08 16:42:41 -05:00
parent 3f14624d46
commit d19bf07b7a
No known key found for this signature in database
GPG Key ID: 7EEFB66FE798081F
1 changed files with 1 additions and 1 deletions

View File

@ -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