ViaVersion/common/src
RednedEpic 7e03da66d4 Rework inventory workaround to cancel animation if in an open inventory
On 1.16, when sending a new inventory while another one is open (without explicitly calling `closeInventory` first), a hand swing is sent from the client, which the server handles like any normal arm swing. This in turn results in the `PlayerInteractEvent` and `PlayerAnimationEvent` both being called on Bukkit's end, which are used to detect for left clicks. If an item in the player's hand opens a menu when left clicked and the above is true, this results in that menu being reopened.
2020-08-22 13:25:00 -05:00
..
main Rework inventory workaround to cancel animation if in an open inventory 2020-08-22 13:25:00 -05:00
test/java/us/myles/ViaVersion/common/test/type Avoid a bit of overhead in manual primitive type reading 2020-06-18 19:38:47 +02:00