mirror of
https://github.com/luanti-org/luanti.git
synced 2025-10-13 08:35:20 +02:00
Attempt to fix flying gravel and dirt
This commit is contained in:
@@ -1761,8 +1761,9 @@ void make_block(BlockMakeData *data)
|
|||||||
vmanip.m_data[i] = airnode;
|
vmanip.m_data[i] = airnode;
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
// Don't replace air or water or lava
|
// Don't replace air or water or lava or ignore
|
||||||
if(vmanip.m_data[i].getContent() == CONTENT_AIR ||
|
if(vmanip.m_data[i].getContent() == CONTENT_IGNORE ||
|
||||||
|
vmanip.m_data[i].getContent() == CONTENT_AIR ||
|
||||||
vmanip.m_data[i].getContent() == c_water_source ||
|
vmanip.m_data[i].getContent() == c_water_source ||
|
||||||
vmanip.m_data[i].getContent() == c_lava_source)
|
vmanip.m_data[i].getContent() == c_lava_source)
|
||||||
continue;
|
continue;
|
||||||
|
Reference in New Issue
Block a user