Made Chunk#setBlockData public

This commit is contained in:
themode 2020-10-06 07:54:19 +02:00
parent abbb2fde01
commit d03354fe24
3 changed files with 3 additions and 3 deletions

View File

@ -160,7 +160,7 @@ public abstract class Chunk implements Viewable, DataContainer {
* @param index the block index
* @return the {@link Data} at the block index, null if none
*/
protected abstract Data getBlockData(int index);
public abstract Data getBlockData(int index);
/**
* Set the {@link Data} at a position

View File

@ -176,7 +176,7 @@ public class DynamicChunk extends Chunk {
}
@Override
protected Data getBlockData(int index) {
public Data getBlockData(int index) {
return blocksData.get(index);
}

View File

@ -53,7 +53,7 @@ public class StaticChunk extends Chunk {
}
@Override
protected Data getBlockData(int index) {
public Data getBlockData(int index) {
return null;
}