-
-
Notifications
You must be signed in to change notification settings - Fork 3.4k
Possible item loss when cancelling PlayerDropItemEvent #7726
Copy link
Copy link
Open
Labels
status: acceptedDisputed bug is accepted as valid or Feature accepted as desired to be added.Disputed bug is accepted as valid or Feature accepted as desired to be added.type: bugSomething doesn't work as it was intended to.Something doesn't work as it was intended to.version: 1.19Game version 1.19Game version 1.19
Metadata
Metadata
Assignees
Labels
status: acceptedDisputed bug is accepted as valid or Feature accepted as desired to be added.Disputed bug is accepted as valid or Feature accepted as desired to be added.type: bugSomething doesn't work as it was intended to.Something doesn't work as it was intended to.version: 1.19Game version 1.19Game version 1.19
Type
Fields
Give feedbackNo fields configured for Bug.
Projects
Status
✅ Accepted
Expected behavior
Assuming a player stands inside a pile of dropped items, then starts moving an item in his inventory with his cursor and thereby filling the empty slot with any of the dropped items. If the player now clicks outside his inventory to drop the cursor item, the event should get cancelled and the item should remain attached to the cursor.
Observed/Actual behavior
When clicking outside the inventory the item will simple get deleted if the players inventory is full.
Steps/models to reproduce
Plugin and Datapack List
Just a test plugin cancelling the event.
Paper version
This server is running Paper version git-Paper-283 (MC: 1.18.2) (Implementing API version 1.18.2-R0.1-SNAPSHOT) (Git: f8e8d6c)
You are running the latest version
Previous version: git-Paper-277 (MC: 1.18.2)
Other
No response