aboutsummaryrefslogtreecommitdiff
path: root/azalea-client/src/inventory.rs
diff options
context:
space:
mode:
authormat <git@matdoes.dev>2023-05-24 02:52:21 -0500
committermat <git@matdoes.dev>2023-05-24 02:52:21 -0500
commit8be3921ad450958ac9bc8c1911ecd65760ea42b6 (patch)
tree2bf05b45f2aaa23f3b1f54c1ef365888ee02f08a /azalea-client/src/inventory.rs
parent630c78b3180443115b84261a63bfdb3e61c41822 (diff)
parenteb65b0ad6e03f5ffcf8f0f2328ec91bb7e26259f (diff)
downloadazalea-drasl-8be3921ad450958ac9bc8c1911ecd65760ea42b6.tar.xz
merge main
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)>,
) {