mirror of
https://github.com/luanti-org/luanti.git
synced 2025-10-13 00:25:19 +02:00
Skip liquid updates in MapgenSinglenode if not applicable
This commit is contained in:
@@ -74,7 +74,7 @@ void MapgenSinglenode::makeChunk(BlockMakeData *data)
|
||||
}
|
||||
}
|
||||
|
||||
// Add top and bottom side of water to transforming_liquid queue
|
||||
if (ndef->get(n_node).isLiquid())
|
||||
updateLiquid(&data->transforming_liquid, node_min, node_max);
|
||||
|
||||
// Set lighting
|
||||
|
Reference in New Issue
Block a user