diff options
Diffstat (limited to 'azalea/src/pathfinder')
| -rw-r--r-- | azalea/src/pathfinder/mod.rs | 4 | ||||
| -rw-r--r-- | azalea/src/pathfinder/moves.rs | 8 |
2 files changed, 6 insertions, 6 deletions
diff --git a/azalea/src/pathfinder/mod.rs b/azalea/src/pathfinder/mod.rs index 61a92038..9c06ebb8 100644 --- a/azalea/src/pathfinder/mod.rs +++ b/azalea/src/pathfinder/mod.rs @@ -20,7 +20,7 @@ use azalea_world::entity::metadata::Player; use azalea_world::entity::Local; use azalea_world::{ entity::{Physics, Position, WorldName}, - WorldContainer, + InstanceContainer, }; use bevy_tasks::{AsyncComputeTaskPool, Task}; use futures_lite::future; @@ -93,7 +93,7 @@ fn goto_listener( mut commands: Commands, mut events: EventReader<GotoEvent>, mut query: Query<(&Position, &WorldName)>, - world_container: Res<WorldContainer>, + world_container: Res<InstanceContainer>, ) { let thread_pool = AsyncComputeTaskPool::get(); diff --git a/azalea/src/pathfinder/moves.rs b/azalea/src/pathfinder/moves.rs index 3639c091..6625581d 100644 --- a/azalea/src/pathfinder/moves.rs +++ b/azalea/src/pathfinder/moves.rs @@ -151,11 +151,11 @@ mod tests { use super::*; use azalea_block::BlockState; use azalea_core::ChunkPos; - use azalea_world::{Chunk, ChunkStorage, PartialWorld}; + use azalea_world::{Chunk, ChunkStorage, PartialInstance}; #[test] fn test_is_passable() { - let mut partial_world = PartialWorld::default(); + let mut partial_world = PartialInstance::default(); let mut chunk_storage = ChunkStorage::default(); partial_world.chunks.set( @@ -181,7 +181,7 @@ mod tests { #[test] fn test_is_solid() { - let mut partial_world = PartialWorld::default(); + let mut partial_world = PartialInstance::default(); let mut chunk_storage = ChunkStorage::default(); partial_world.chunks.set( &ChunkPos { x: 0, z: 0 }, @@ -206,7 +206,7 @@ mod tests { #[test] fn test_is_standable() { - let mut partial_world = PartialWorld::default(); + let mut partial_world = PartialInstance::default(); let mut chunk_storage = ChunkStorage::default(); partial_world.chunks.set( &ChunkPos { x: 0, z: 0 }, |
