From a7e2f92b169d6079ba09b2190fefd2d539024a68 Mon Sep 17 00:00:00 2001 From: mat Date: Sat, 4 Oct 2025 11:17:38 -0430 Subject: fix handle_container_click_event not being added --- azalea-client/src/plugins/inventory.rs | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'azalea-client/src') diff --git a/azalea-client/src/plugins/inventory.rs b/azalea-client/src/plugins/inventory.rs index 6902430e..72df7c89 100644 --- a/azalea-client/src/plugins/inventory.rs +++ b/azalea-client/src/plugins/inventory.rs @@ -42,7 +42,8 @@ impl Plugin for InventoryPlugin { .add_observer(handle_client_side_close_container_trigger) .add_observer(handle_menu_opened_trigger) .add_observer(handle_container_close_event) - .add_observer(handle_set_container_content_trigger); + .add_observer(handle_set_container_content_trigger) + .add_observer(handle_container_click_event); } } @@ -827,8 +828,8 @@ pub struct ContainerClickEvent { pub operation: ClickOperation, } pub fn handle_container_click_event( - mut commands: Commands, container_click: On, + mut commands: Commands, mut query: Query<( Entity, &mut Inventory, -- cgit v1.2.3