diff options
| author | mat <git@matdoes.dev> | 2023-08-25 23:28:19 -0500 |
|---|---|---|
| committer | mat <git@matdoes.dev> | 2023-08-25 23:28:19 -0500 |
| commit | 472496b7b808b4c6ac6f8e161a5bc1d08f5b0524 (patch) | |
| tree | b839d9c63829c3e215940f05cdcf0b17cd226300 /azalea-client/src/inventory.rs | |
| parent | 2773146fbfd9b61c0ea09210b6d7b9760be5e7dc (diff) | |
| download | azalea-drasl-472496b7b808b4c6ac6f8e161a5bc1d08f5b0524.tar.xz | |
fix all bevy ambiguities
Diffstat (limited to 'azalea-client/src/inventory.rs')
| -rw-r--r-- | azalea-client/src/inventory.rs | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/azalea-client/src/inventory.rs b/azalea-client/src/inventory.rs index 6f7829de..da5376fc 100644 --- a/azalea-client/src/inventory.rs +++ b/azalea-client/src/inventory.rs @@ -20,7 +20,7 @@ use bevy_ecs::{ entity::Entity, event::EventReader, prelude::{Event, EventWriter}, - schedule::IntoSystemConfigs, + schedule::{IntoSystemConfigs, SystemSet}, system::Query, }; use log::warn; @@ -44,11 +44,15 @@ impl Plugin for InventoryPlugin { handle_container_close_event.before(handle_send_packet_event), handle_client_side_close_container_event, ) - .chain(), + .chain() + .in_set(InventorySet), ); } } +#[derive(SystemSet, Debug, Hash, PartialEq, Eq, Clone)] +pub struct InventorySet; + impl Client { /// Return the menu that is currently open. If no menu is open, this will /// have the player's inventory. |
