aboutsummaryrefslogtreecommitdiff
path: root/azalea-client/src/plugins/respawn.rs
diff options
context:
space:
mode:
Diffstat (limited to 'azalea-client/src/plugins/respawn.rs')
-rw-r--r--azalea-client/src/plugins/respawn.rs3
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);
}
}