mirror of
https://github.com/Minestom/Minestom.git
synced 2024-12-28 12:07:42 +01:00
entries/tickable map shall be empty by default
Signed-off-by: TheMode <themode@outlook.fr>
This commit is contained in:
parent
86d9c20150
commit
83e5addef0
@ -35,8 +35,8 @@ public class DynamicChunk extends Chunk {
|
|||||||
protected final Int2ObjectOpenHashMap<Section> sectionMap = new Int2ObjectOpenHashMap<>();
|
protected final Int2ObjectOpenHashMap<Section> sectionMap = new Int2ObjectOpenHashMap<>();
|
||||||
|
|
||||||
// Key = ChunkUtils#getBlockIndex
|
// Key = ChunkUtils#getBlockIndex
|
||||||
protected final Int2ObjectOpenHashMap<Block> entries = new Int2ObjectOpenHashMap<>();
|
protected final Int2ObjectOpenHashMap<Block> entries = new Int2ObjectOpenHashMap<>(0);
|
||||||
protected final Int2ObjectOpenHashMap<Block> tickableMap = new Int2ObjectOpenHashMap<>();
|
protected final Int2ObjectOpenHashMap<Block> tickableMap = new Int2ObjectOpenHashMap<>(0);
|
||||||
|
|
||||||
private long lastChange;
|
private long lastChange;
|
||||||
private final CachedPacket chunkCache = new CachedPacket(this::createChunkPacket);
|
private final CachedPacket chunkCache = new CachedPacket(this::createChunkPacket);
|
||||||
|
Loading…
Reference in New Issue
Block a user