Skip to content

Commit

Permalink
Fixed tests
Browse files Browse the repository at this point in the history
  • Loading branch information
akashic-records-of-the-abyss committed Jan 4, 2025
1 parent ea312fe commit 810f5be
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions crates/level/tests/api_test.rs
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ fn world_test(
println!("Wrote {idx} out of {len} chunks!");
}
}
let mut chunk = level.get_chunk::<BedrockChunk>((0, 0).into(), Dimension::Overworld, None)?;
let mut chunk = level.get_chunk::<BedrockChunk>((0, 0).into(), Dimension::Overworld)?;

chunk
.fill_chunk(
Expand All @@ -64,7 +64,7 @@ fn world_test(
.unwrap();
level.set_chunk(chunk)?;

let mut chunk = level.get_chunk::<BedrockChunk>((0, -1).into(), Dimension::Overworld, None)?;
let mut chunk = level.get_chunk::<BedrockChunk>((0, -1).into(), Dimension::Overworld)?;

let subchunk = chunk.get_subchunk_mut(0).unwrap();
subchunk
Expand Down

0 comments on commit 810f5be

Please sign in to comment.