mirror of
https://github.com/neocturne/MinedMap.git
synced 2025-03-04 17:23:33 +01:00
core/region_processor: rename path to input_path in process_region()
Make the variable names more consistent.
This commit is contained in:
parent
920547f64a
commit
38da1616d5
1 changed files with 3 additions and 3 deletions
|
@ -139,8 +139,8 @@ impl<'a> RegionProcessor<'a> {
|
|||
let mut processed_region = ProcessedRegion::default();
|
||||
let mut lightmap = image::GrayAlphaImage::new(N, N);
|
||||
|
||||
let path = self.config.region_path(coords);
|
||||
let input_timestamp = fs::modified_timestamp(&path)?;
|
||||
let input_path = self.config.region_path(coords);
|
||||
let input_timestamp = fs::modified_timestamp(&input_path)?;
|
||||
|
||||
let output_path = self.config.processed_path(coords);
|
||||
let output_timestamp = fs::read_timestamp(&output_path, FILE_META_VERSION);
|
||||
|
@ -155,7 +155,7 @@ impl<'a> RegionProcessor<'a> {
|
|||
|
||||
debug!("Processing region r.{}.{}.mca", coords.x, coords.z);
|
||||
|
||||
crate::nbt::region::from_file(path)?.foreach_chunk(
|
||||
crate::nbt::region::from_file(input_path)?.foreach_chunk(
|
||||
|chunk_coords, data: world::de::Chunk| {
|
||||
let Some(layer::LayerData {
|
||||
blocks,
|
||||
|
|
Loading…
Add table
Reference in a new issue