Skip to content

Commit

Permalink
Don't allocate the entire block size
Browse files Browse the repository at this point in the history
  • Loading branch information
Camotoy committed Mar 8, 2021
1 parent 3f14624 commit d19bf07
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit d19bf07

Please sign in to comment.