mirror of
https://github.com/Minestom/Minestom.git
synced 2024-11-07 19:31:37 +01:00
Merge pull request #47 from Nesaak/master
Change access of id arrays in DynamicChunk to protected
This commit is contained in:
commit
89656fbf33
@ -19,8 +19,8 @@ import java.util.concurrent.CopyOnWriteArraySet;
|
||||
public class DynamicChunk extends Chunk {
|
||||
|
||||
// blocks id based on coordinate, see Chunk#getBlockIndex
|
||||
private final short[] blocksStateId = new short[CHUNK_SIZE_X * CHUNK_SIZE_Y * CHUNK_SIZE_Z];
|
||||
private final short[] customBlocksId = new short[CHUNK_SIZE_X * CHUNK_SIZE_Y * CHUNK_SIZE_Z];
|
||||
protected final short[] blocksStateId = new short[CHUNK_SIZE_X * CHUNK_SIZE_Y * CHUNK_SIZE_Z];
|
||||
protected final short[] customBlocksId = new short[CHUNK_SIZE_X * CHUNK_SIZE_Y * CHUNK_SIZE_Z];
|
||||
|
||||
public DynamicChunk(Biome[] biomes, int chunkX, int chunkZ) {
|
||||
super(biomes, chunkX, chunkZ);
|
||||
|
Loading…
Reference in New Issue
Block a user