Skip liquid updates in MapgenSinglenode if not applicable

This commit is contained in:
sfan5 2023-06-25 18:26:24 +02:00
parent bf36a90579
commit e48f15c135

@ -74,8 +74,8 @@ void MapgenSinglenode::makeChunk(BlockMakeData *data)
}
}
// Add top and bottom side of water to transforming_liquid queue
updateLiquid(&data->transforming_liquid, node_min, node_max);
if (ndef->get(n_node).isLiquid())
updateLiquid(&data->transforming_liquid, node_min, node_max);
// Set lighting
if ((flags & MG_LIGHT) && set_light == LIGHT_SUN)