diff options
| author | mat <git@matdoes.dev> | 2025-03-28 00:54:17 +0000 |
|---|---|---|
| committer | mat <git@matdoes.dev> | 2025-03-28 00:54:17 +0000 |
| commit | 4e5c551d650ad3233f9653aaad07b216191ec5b2 (patch) | |
| tree | e8c32e1aeba36c4fed753054d65e2e7e16d869c0 /azalea-client/src/plugins/packet/mod.rs | |
| parent | 02de98240f3642019b1c8104b00bc4a9d6d17e71 (diff) | |
| download | azalea-drasl-4e5c551d650ad3233f9653aaad07b216191ec5b2.tar.xz | |
fix entity deindexing happening at the wrong time
Diffstat (limited to 'azalea-client/src/plugins/packet/mod.rs')
| -rw-r--r-- | azalea-client/src/plugins/packet/mod.rs | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/azalea-client/src/plugins/packet/mod.rs b/azalea-client/src/plugins/packet/mod.rs index 05f64e19..362154cc 100644 --- a/azalea-client/src/plugins/packet/mod.rs +++ b/azalea-client/src/plugins/packet/mod.rs @@ -1,4 +1,4 @@ -use azalea_entity::{EntityUpdateSet, metadata::Health}; +use azalea_entity::metadata::Health; use bevy_app::{App, First, Plugin, PreUpdate, Update}; use bevy_ecs::{ prelude::*, @@ -46,9 +46,7 @@ impl Plugin for PacketPlugin { .add_systems( PreUpdate, ( - game::process_packet_events - // we want to index and deindex right after - .before(EntityUpdateSet::Deindex), + game::process_packet_events, config::process_packet_events, login::handle_send_packet_event, login::process_packet_events, |
