Mirror von
https://github.com/ViaVersion/ViaVersion.git
synchronisiert 2024-11-13 03:20:12 +01:00
7e03da66d4
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. |
||
---|---|---|
.. | ||
java/us/myles/ViaVersion | ||
resources/assets/viaversion |