1
2
Fork 0
mirror of https://github.com/mat-1/azalea.git synced 2025-08-02 06:16:04 +00:00

fix bench

This commit is contained in:
mat 2025-06-11 15:50:45 -12:45
parent df092f25ec
commit 89ddd5e85f

View file

@ -61,14 +61,14 @@ fn generate_bedrock_world(
let mut start = BlockPos::new(-64, 4, -64);
// move start down until it's on a solid block
while chunks.get_block_state(&start).unwrap().is_air() {
while chunks.get_block_state(start).unwrap().is_air() {
start = start.down(1);
}
start = start.up(1);
let mut end = BlockPos::new(63, 4, 63);
// move end down until it's on a solid block
while chunks.get_block_state(&end).unwrap().is_air() {
while chunks.get_block_state(end).unwrap().is_air() {
end = end.down(1);
}
end = end.up(1);