Fix genChunk setCuboid

This commit is contained in:
Jesse Boyd
2019-04-01 05:01:32 +11:00
parent f3adeeac0e
commit 3be7511b7c
2 changed files with 1 additions and 64 deletions

View File

@ -88,7 +88,7 @@ public class GenChunk extends ScopedLocalBlockQueue {
int maxx = Math.max(pos1.getX(), pos2.getX());
int maxy = Math.max(pos1.getY(), pos2.getY());
int maxz = Math.max(pos1.getZ(), pos2.getZ());
cd.setRegion(minx, miny, minz, maxx, maxy, maxz, block.to(Material.class));
cd.setRegion(minx, miny, minz, maxx + 1, maxy + 1, maxz + 1, block.to(Material.class));
}
@Override public boolean setBiome(int x, int z, String biome) {