change to use correct function

This commit is contained in:
Edvin Bryntesson 2024-08-31 13:26:07 +02:00
parent d213fad067
commit f465bc06d8
No known key found for this signature in database

View File

@ -69,7 +69,7 @@ pub trait Container: Sync + Send {
slot: usize,
mouse_click: MouseClick,
) {
handle_item_take(carried_item, self.all_slots()[slot], mouse_click)
handle_item_change(carried_item, self.all_slots()[slot], mouse_click)
}
fn all_slots(&mut self) -> Vec<&mut Option<ItemStack>>;