diff options
Diffstat (limited to 'azalea-client/src')
| -rw-r--r-- | azalea-client/src/local_player.rs | 2 | ||||
| -rw-r--r-- | azalea-client/src/packet_handling/game.rs | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/azalea-client/src/local_player.rs b/azalea-client/src/local_player.rs index 22ea2232..c2b16434 100644 --- a/azalea-client/src/local_player.rs +++ b/azalea-client/src/local_player.rs @@ -127,7 +127,7 @@ impl InstanceHolder { InstanceHolder { instance: world, partial_instance: Arc::new(RwLock::new(PartialInstance::new( - azalea_world::calculate_chunk_storage_range( + azalea_world::chunk_storage::calculate_chunk_storage_range( client_information.view_distance.into(), ), Some(entity), diff --git a/azalea-client/src/packet_handling/game.rs b/azalea-client/src/packet_handling/game.rs index 049eab03..46eb21fe 100644 --- a/azalea-client/src/packet_handling/game.rs +++ b/azalea-client/src/packet_handling/game.rs @@ -267,7 +267,7 @@ pub fn process_packet_events(ecs: &mut World) { // instance_container) *instance_holder.partial_instance.write() = PartialInstance::new( - azalea_world::calculate_chunk_storage_range( + azalea_world::chunk_storage::calculate_chunk_storage_range( client_information.view_distance.into(), ), // this argument makes it so other clients don't update this player entity @@ -1287,7 +1287,7 @@ pub fn process_packet_events(ecs: &mut World) { // (when we add chunks or entities those will be in the // instance_container) *instance_holder.partial_instance.write() = PartialInstance::new( - azalea_world::calculate_chunk_storage_range( + azalea_world::chunk_storage::calculate_chunk_storage_range( client_information.view_distance.into(), ), Some(player_entity), |
