mirror of
https://github.com/neocturne/MinedMap.git
synced 2025-03-05 01:24:53 +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)]
|
||||
pub struct PaletteSectionBiomes<'a> {
|
||||
biomes: Option<&'a fastnbt::LongArray>,
|
||||
palette: &'a Vec<String>,
|
||||
bits: u8,
|
||||
_biomes: Option<&'a fastnbt::LongArray>,
|
||||
_palette: &'a Vec<String>,
|
||||
_bits: u8,
|
||||
}
|
||||
|
||||
impl<'a> PaletteSectionBiomes<'a> {
|
||||
|
@ -40,9 +40,9 @@ impl<'a> PaletteSectionBiomes<'a> {
|
|||
}
|
||||
|
||||
Ok(PaletteSectionBiomes {
|
||||
biomes,
|
||||
palette,
|
||||
bits,
|
||||
_biomes: biomes,
|
||||
_palette: palette,
|
||||
_bits: bits,
|
||||
})
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue