aboutsummaryrefslogtreecommitdiff
path: root/azalea-client/src/movement.rs
diff options
context:
space:
mode:
authormat <git@matdoes.dev>2023-08-25 23:28:19 -0500
committermat <git@matdoes.dev>2023-08-25 23:28:19 -0500
commit472496b7b808b4c6ac6f8e161a5bc1d08f5b0524 (patch)
treeb839d9c63829c3e215940f05cdcf0b17cd226300 /azalea-client/src/movement.rs
parent2773146fbfd9b61c0ea09210b6d7b9760be5e7dc (diff)
downloadazalea-drasl-472496b7b808b4c6ac6f8e161a5bc1d08f5b0524.tar.xz
fix all bevy ambiguities
Diffstat (limited to 'azalea-client/src/movement.rs')
-rw-r--r--azalea-client/src/movement.rs10
1 files changed, 5 insertions, 5 deletions
diff --git a/azalea-client/src/movement.rs b/azalea-client/src/movement.rs
index 919be0e6..b1e58324 100644
--- a/azalea-client/src/movement.rs
+++ b/azalea-client/src/movement.rs
@@ -1,8 +1,8 @@
use crate::client::Client;
-use crate::local_player::{update_in_loaded_chunk, LocalPlayer, LocalPlayerInLoadedChunk};
+use crate::local_player::{LocalPlayer, LocalPlayerInLoadedChunk};
use azalea_entity::{metadata::Sprinting, Attributes, Jumping};
use azalea_entity::{LastSentPosition, LookDirection, Physics, Position};
-use azalea_physics::{force_jump_listener, PhysicsSet};
+use azalea_physics::{handle_force_jump, PhysicsSet};
use azalea_protocol::packets::game::serverbound_player_command_packet::ServerboundPlayerCommandPacket;
use azalea_protocol::packets::game::{
serverbound_move_player_pos_packet::ServerboundMovePlayerPosPacket,
@@ -48,7 +48,7 @@ impl Plugin for PlayerMovePlugin {
Update,
(sprint_listener, walk_listener)
.chain()
- .before(force_jump_listener),
+ .before(handle_force_jump),
)
.add_systems(
FixedUpdate,
@@ -56,7 +56,7 @@ impl Plugin for PlayerMovePlugin {
local_player_ai_step
.in_set(PhysicsSet)
.before(azalea_physics::ai_step),
- send_position.after(update_in_loaded_chunk),
+ send_position.after(PhysicsSet),
)
.chain(),
);
@@ -120,7 +120,7 @@ pub struct PhysicsState {
}
#[allow(clippy::type_complexity)]
-pub(crate) fn send_position(
+pub fn send_position(
mut query: Query<
(
&MinecraftEntityId,