mirror of
https://github.com/mat-1/azalea.git
synced 2025-08-02 14:26:04 +00:00
remove some unused system ordering
This commit is contained in:
parent
f12589ab80
commit
537ec510f0
3 changed files with 4 additions and 7 deletions
|
@ -17,8 +17,8 @@ use bevy_ecs::prelude::*;
|
|||
use tracing::{error, trace};
|
||||
|
||||
use crate::{
|
||||
interact::handle_start_use_item_queued, inventory::InventorySet, local_player::InstanceHolder,
|
||||
packet::game::SendPacketEvent, respawn::perform_respawn,
|
||||
inventory::InventorySet, local_player::InstanceHolder, packet::game::SendPacketEvent,
|
||||
respawn::perform_respawn,
|
||||
};
|
||||
|
||||
pub struct ChunksPlugin;
|
||||
|
@ -33,7 +33,6 @@ impl Plugin for ChunksPlugin {
|
|||
)
|
||||
.chain()
|
||||
.before(InventorySet)
|
||||
.before(handle_start_use_item_queued)
|
||||
.before(perform_respawn),
|
||||
)
|
||||
.add_event::<ReceiveChunkEvent>()
|
||||
|
|
|
@ -59,7 +59,6 @@ impl Plugin for MiningPlugin {
|
|||
.after(azalea_entity::update_fluid_on_eyes)
|
||||
.after(crate::interact::pick::update_hit_result_component)
|
||||
.after(crate::attack::handle_attack_event)
|
||||
.after(crate::interact::handle_start_use_item_queued)
|
||||
.before(crate::interact::handle_swing_arm_event),
|
||||
)
|
||||
.add_observer(handle_finish_mining_block_observer);
|
||||
|
|
|
@ -39,10 +39,9 @@ impl Plugin for PhysicsPlugin {
|
|||
app.add_systems(
|
||||
GameTick,
|
||||
(
|
||||
fluids::update_in_water_state_and_do_fluid_pushing
|
||||
.before(azalea_entity::update_fluid_on_eyes),
|
||||
fluids::update_in_water_state_and_do_fluid_pushing,
|
||||
update_old_position,
|
||||
fluids::update_swimming.after(azalea_entity::update_fluid_on_eyes),
|
||||
fluids::update_swimming,
|
||||
ai_step,
|
||||
travel::travel,
|
||||
apply_effects_from_blocks,
|
||||
|
|
Loading…
Add table
Reference in a new issue