From 4e5c551d650ad3233f9653aaad07b216191ec5b2 Mon Sep 17 00:00:00 2001 From: mat Date: Fri, 28 Mar 2025 00:54:17 +0000 Subject: fix entity deindexing happening at the wrong time --- azalea-client/src/plugins/packet/mod.rs | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'azalea-client/src/plugins/packet/mod.rs') 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, -- cgit v1.2.3