mirror of
https://github.com/neocturne/MinedMap.git
synced 2025-07-06 23:59:07 +02:00
resource: rename BlockTypeMap to BlockTypes
The block_types() function it turned into a Default implementation.
This commit is contained in:
parent
95e4e45974
commit
4c2fd6c1a9
3 changed files with 18 additions and 15 deletions
|
@ -50,14 +50,14 @@ impl Paths {
|
|||
|
||||
/// Type with methods for processing the regions of a Minecraft save directory
|
||||
struct RegionProcessor<'a> {
|
||||
block_types: resource::BlockTypeMap,
|
||||
block_types: resource::BlockTypes,
|
||||
paths: &'a Paths,
|
||||
}
|
||||
|
||||
impl<'a> RegionProcessor<'a> {
|
||||
fn new(paths: &'a Paths) -> Self {
|
||||
RegionProcessor {
|
||||
block_types: resource::block_types(),
|
||||
block_types: resource::BlockTypes::default(),
|
||||
paths,
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue