mirror of
https://github.com/plexusorg/Plex-FAWE.git
synced 2024-11-16 17:16:11 +00:00
Save some RAM.
Vanilla only needs 12k~ states right now, 32k is unnecessary.
This commit is contained in:
parent
0aa0dbfd11
commit
61fd44fa8c
@ -51,7 +51,7 @@ public final class BlockStateIdAccess {
|
|||||||
return id < blockStates.length ? blockStates[id] : null;
|
return id < blockStates.length ? blockStates[id] : null;
|
||||||
}
|
}
|
||||||
|
|
||||||
private static BlockState[] blockStates = new BlockState[2 << 14];
|
private static BlockState[] blockStates = new BlockState[2 << 13];
|
||||||
|
|
||||||
public static void register(BlockState blockState) {
|
public static void register(BlockState blockState) {
|
||||||
OptionalInt id = getBlockStateId(blockState);
|
OptionalInt id = getBlockStateId(blockState);
|
||||||
|
Loading…
Reference in New Issue
Block a user