Increase default BlockState count (#2102)

This commit is contained in:
Maddy Miller 2022-05-22 17:28:42 +10:00 committed by GitHub
parent 8ddd31797c
commit 15bd7ff441
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -32,7 +32,7 @@
public final class BlockStateIdAccess {
private static final int INVALID_ID = -1;
private static final int EXPECTED_BLOCK_COUNT = 2 << 13;
private static final int EXPECTED_BLOCK_COUNT = 2 << 14;
private static final Int2ObjectOpenHashMap<BlockState> TO_STATE =
new Int2ObjectOpenHashMap<>(EXPECTED_BLOCK_COUNT);