From ab54ed92a40173abc5be7091fb0caeb180679b30 Mon Sep 17 00:00:00 2001 From: Nesaak <52047222+Nesaak@users.noreply.github.com> Date: Wed, 2 Sep 2020 17:49:25 -0400 Subject: [PATCH] Change access of id arrays in DynamicChunk to protected --- src/main/java/net/minestom/server/instance/DynamicChunk.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/java/net/minestom/server/instance/DynamicChunk.java b/src/main/java/net/minestom/server/instance/DynamicChunk.java index 20575f9fa..218554b80 100644 --- a/src/main/java/net/minestom/server/instance/DynamicChunk.java +++ b/src/main/java/net/minestom/server/instance/DynamicChunk.java @@ -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);