valence/crates
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
..
dump_schedule dump_schedule utility (#300) 2023-03-23 01:01:50 -07:00
packet_inspector Decoupled Packet Handlers (#315) 2023-04-08 19:55:31 +00:00
playground Decoupled Packet Handlers (#315) 2023-04-08 19:55:31 +00:00
valence Fixed Panic when dropping item from inventory while chest is open #295 (#320) 2023-04-18 21:08:13 +00:00
valence_anvil Decoupled Packet Handlers (#315) 2023-04-08 19:55:31 +00:00
valence_nbt Update to 1.19.4 (#302) 2023-03-31 14:58:47 -07:00
valence_protocol Decoupled Packet Handlers (#315) 2023-04-08 19:55:31 +00:00
valence_protocol_macros Decoupled Packet Handlers (#315) 2023-04-08 19:55:31 +00:00
valence_spatial_index Reorganize Packages (#180) 2022-12-29 16:51:05 -08:00
valence_stresser Decoupled Packet Handlers (#315) 2023-04-08 19:55:31 +00:00