[SPIGOT-883] Cancelling PlayerDropItemEvent cause inventory to get out of sync Created: 12/May/15  Updated: 26/May/15  Resolved: 26/May/15

Status: Resolved
Project: Spigot
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Bug Priority: Minor
Reporter: José Roberto de Araújo Júnior Assignee: Unassigned
Resolution: Fixed Votes: 0
Labels: PlayerDropItemEvent, craftbukkit, inventory

Attachments: File Test-1.0-SNAPSHOT.jar    

 Description   

If we cancel the PlayerDropItemEvent when the player is dropping the item using the mouse the item is transferred to the first inventory slot but the player will not see it until he clicks the empty slot.

https://youtu.be/5gvv7sUGTHI?t=1m48s

Example plugin:
http://pastebin.com/4xR4qLCX


Generated at Sat Apr 05 06:16:21 UTC 2025 using Jira 10.3.3#10030003-sha1:d220e3fefc8dfc6d47f522d3b9a20c1455e12b7b.