aboutsummaryrefslogtreecommitdiff
path: root/azalea-client/src/inventory.rs
diff options
context:
space:
mode:
Diffstat (limited to 'azalea-client/src/inventory.rs')
-rw-r--r--azalea-client/src/inventory.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/azalea-client/src/inventory.rs b/azalea-client/src/inventory.rs
index d6f909a7..bce629b0 100644
--- a/azalea-client/src/inventory.rs
+++ b/azalea-client/src/inventory.rs
@@ -628,7 +628,7 @@ fn handle_container_close_event(
pub struct ClientSideCloseContainerEvent {
pub entity: Entity,
}
-fn handle_client_side_close_container_event(
+pub fn handle_client_side_close_container_event(
mut events: EventReader<ClientSideCloseContainerEvent>,
mut query: Query<&mut InventoryComponent>,
) {
@@ -645,7 +645,7 @@ pub struct ContainerClickEvent {
pub window_id: u8,
pub operation: ClickOperation,
}
-fn handle_container_click_event(
+pub fn handle_container_click_event(
mut events: EventReader<ContainerClickEvent>,
mut query: Query<(&mut InventoryComponent, &LocalPlayer)>,
) {