Skip to content

Commit

Permalink
Fix incorrect paths to non-Minecraft dimensions
Browse files Browse the repository at this point in the history
  • Loading branch information
RundownRhino committed Jan 31, 2021
1 parent b358f52 commit 14c4d22
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
authors = ["RundownRhino <[email protected]>"]
edition = "2018"
name = "region_scanner"
version = "0.1.0"
version = "0.1.1"
about = "A CLI program to scan Minecraft region files and create Just Enough Resources world-gen.json files from the results. Tested on 1.16."

# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
Expand Down
1 change: 1 addition & 0 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -184,6 +184,7 @@ pub fn get_path_from_dimension(dimension: &str) -> Option<PathBuf> {
let mut result = PathBuf::from(r"dimensions/");
result.push(parts.get(0)?);
result.push(parts.get(1)?);
result.push("region");
Some(result)
}
}
Expand Down

0 comments on commit 14c4d22

Please sign in to comment.