valence/crates/valence
Sese Mueller 1db779136c
Fixed Panic when dropping item from inventory while chest is open #295 (#320)
## Description

Fixed #295 by checking the slot ids of the drop event and only updating
the player inventory/the target inventory accordingly.

## Test Plan
Steps:
1. Rerun the test from #295, it works
2. Test other inventories in game
...

(No details, it only uses the chest example.)

---------

Co-authored-by: Sese Mueller <sese4dasbinichagmail.com>
2023-04-18 21:08:13 +00:00
..
build Update to 1.19.4 (#302) 2023-03-31 14:58:47 -07:00
examples Player list rework (#317) 2023-04-10 01:40:03 -07:00
src Fixed Panic when dropping item from inventory while chest is open #295 (#320) 2023-04-18 21:08:13 +00:00
Cargo.toml Update to 1.19.4 (#302) 2023-03-31 14:58:47 -07:00