mirror of
https://github.com/neocturne/MinedMap.git
synced 2025-03-05 17:44:52 +01:00
world/section: temporarily rename PaletteSectionBiomes fields
These fields are unused for now. Add an underscore to supress linter warnings.
This commit is contained in:
parent
65c39ea153
commit
c34f531546
1 changed files with 6 additions and 6 deletions
|
@ -22,9 +22,9 @@ pub trait Section {
|
||||||
|
|
||||||
#[derive(Debug)]
|
#[derive(Debug)]
|
||||||
pub struct PaletteSectionBiomes<'a> {
|
pub struct PaletteSectionBiomes<'a> {
|
||||||
biomes: Option<&'a fastnbt::LongArray>,
|
_biomes: Option<&'a fastnbt::LongArray>,
|
||||||
palette: &'a Vec<String>,
|
_palette: &'a Vec<String>,
|
||||||
bits: u8,
|
_bits: u8,
|
||||||
}
|
}
|
||||||
|
|
||||||
impl<'a> PaletteSectionBiomes<'a> {
|
impl<'a> PaletteSectionBiomes<'a> {
|
||||||
|
@ -40,9 +40,9 @@ impl<'a> PaletteSectionBiomes<'a> {
|
||||||
}
|
}
|
||||||
|
|
||||||
Ok(PaletteSectionBiomes {
|
Ok(PaletteSectionBiomes {
|
||||||
biomes,
|
_biomes: biomes,
|
||||||
palette,
|
_palette: palette,
|
||||||
bits,
|
_bits: bits,
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue