NetherClumpGenerator: Fixed generating stuff on halfslabs and fences
This commit is contained in:
parent
003f0e69a9
commit
d61f1d0f4a
|
@ -141,7 +141,7 @@ void cFinishGenNetherClumpFoliage::TryPlaceClump(cChunkDesc & a_ChunkDesc, int a
|
||||||
}
|
}
|
||||||
|
|
||||||
BLOCKTYPE BlockBelow = a_ChunkDesc.GetBlockType(x, y - 1, z);
|
BLOCKTYPE BlockBelow = a_ChunkDesc.GetBlockType(x, y - 1, z);
|
||||||
if (!cBlockInfo::IsSolid(BlockBelow)) // Only place on solid blocks
|
if (!cBlockInfo::FullyOccupiesVoxel(BlockBelow)) // Only place on solid blocks
|
||||||
{
|
{
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue