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:
parent
df092f25ec
commit
89ddd5e85f
1 changed files with 2 additions and 2 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Reference in a new issue