diff options
| author | mat <git@matdoes.dev> | 2025-04-05 01:46:14 +0330 |
|---|---|---|
| committer | mat <git@matdoes.dev> | 2025-04-05 01:46:14 +0330 |
| commit | efc28db6cfa3cf45561610dcba9b2819553aa025 (patch) | |
| tree | 2a58147b500b760cf024b6a62cd907321c476047 /azalea-client/src/plugins/respawn.rs | |
| parent | f250978cdd789d8ceb10cb225970a408933f508b (diff) | |
| download | azalea-drasl-efc28db6cfa3cf45561610dcba9b2819553aa025.tar.xz | |
remove unnecessary ecs system ordering for handle_outgoing_packets
Diffstat (limited to 'azalea-client/src/plugins/respawn.rs')
| -rw-r--r-- | azalea-client/src/plugins/respawn.rs | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/azalea-client/src/plugins/respawn.rs b/azalea-client/src/plugins/respawn.rs index 24479805..f0ddd2b8 100644 --- a/azalea-client/src/plugins/respawn.rs +++ b/azalea-client/src/plugins/respawn.rs @@ -2,7 +2,6 @@ use azalea_protocol::packets::game::s_client_command::{self, ServerboundClientCo use bevy_app::{App, Plugin, Update}; use bevy_ecs::prelude::*; -use super::packet::game::handle_outgoing_packets; use crate::packet::game::SendPacketEvent; /// Tell the server that we're respawning. @@ -16,7 +15,7 @@ pub struct RespawnPlugin; impl Plugin for RespawnPlugin { fn build(&self, app: &mut App) { app.add_event::<PerformRespawnEvent>() - .add_systems(Update, perform_respawn.before(handle_outgoing_packets)); + .add_systems(Update, perform_respawn); } } |
