mirror of
https://github.com/PolyhedralDev/Terra.git
synced 2026-10-23 08:30:39 +00:00
Slabs can generate on ceiling in ocean
This commit is contained in:
1 parent
37c2d945ec
commit
554628c486
2 files changed
+4
-1
No files matched your search
@@ -197,6 +197,9 @@ public class TerraChunkGenerator extends GaeaChunkGenerator {
|
||||
}
|
||||
paletteLevel++;
|
||||
} else if(y <= sea) {
|
||||
if(justSet && c.doSlabs()) {
|
||||
prepareBlockPartCeiling(data, chunk.getBlockData(x, y, z), chunk, new Vector(x, y, z), c.getSlabPalettes(), c.getStairPalettes(), c.getSlabThreshold(), sampler);
|
||||
}
|
||||
justSet = false;
|
||||
chunk.setBlock(x, y, z, seaPalette.get(sea - y, x + xOrig, z + zOrig));
|
||||
paletteLevel = 0;
|
||||
|
||||
Reference in new issue
Block a user