From 9d4f738d4e66adf0796e163d1c9368aaba906bba Mon Sep 17 00:00:00 2001 From: Ubuntu Date: Fri, 10 Feb 2023 01:56:45 +0000 Subject: make blockstate good --- azalea/src/pathfinder/moves.rs | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'azalea/src') diff --git a/azalea/src/pathfinder/moves.rs b/azalea/src/pathfinder/moves.rs index 9bb5c7c1..011d8349 100644 --- a/azalea/src/pathfinder/moves.rs +++ b/azalea/src/pathfinder/moves.rs @@ -165,12 +165,12 @@ mod tests { ); partial_world.chunks.set_block_state( &BlockPos::new(0, 0, 0), - BlockState::Stone, + azalea_registry::Block::Stone.into(), &mut chunk_storage, ); partial_world.chunks.set_block_state( &BlockPos::new(0, 1, 0), - BlockState::Air, + BlockState::AIR, &mut chunk_storage, ); @@ -190,12 +190,12 @@ mod tests { ); partial_world.chunks.set_block_state( &BlockPos::new(0, 0, 0), - BlockState::Stone, + azalea_registry::Block::Stone.into(), &mut chunk_storage, ); partial_world.chunks.set_block_state( &BlockPos::new(0, 1, 0), - BlockState::Air, + BlockState::AIR, &mut chunk_storage, ); @@ -215,22 +215,22 @@ mod tests { ); partial_world.chunks.set_block_state( &BlockPos::new(0, 0, 0), - BlockState::Stone, + azalea_registry::Block::Stone.into(), &mut chunk_storage, ); partial_world.chunks.set_block_state( &BlockPos::new(0, 1, 0), - BlockState::Air, + BlockState::AIR, &mut chunk_storage, ); partial_world.chunks.set_block_state( &BlockPos::new(0, 2, 0), - BlockState::Air, + BlockState::AIR, &mut chunk_storage, ); partial_world.chunks.set_block_state( &BlockPos::new(0, 3, 0), - BlockState::Air, + BlockState::AIR, &mut chunk_storage, ); -- cgit v1.2.3