Archived
0

fix: getChunk

This commit is contained in:
Forwolk
2018-08-09 22:33:47 +03:00
parent aa12a519ad
commit 436ed620ad

View File

@@ -107,7 +107,8 @@ public class CubicWorld implements World {
@Override @Override
public ChunkSection getChunk(int x, int y, int z) { public ChunkSection getChunk(int x, int y, int z) {
return null; Region region = getRegion(x / 16, z / 16);
return region.getChunkAt(x % 16, y % 16, z % 16);
} }
@Override @Override