[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: |
![]() |
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: |