[SPIGOT-6280] PlayerInventoryClickEvent cancellation works on swapping to offset hand, but item still appears in offset hand Created: 18/Dec/20  Updated: 18/Dec/20  Resolved: 18/Dec/20

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

Type: Bug Priority: Minor
Reporter: gronnmann Assignee: Unassigned
Resolution: Duplicate Votes: 0
Labels: bug, spigot
Environment:

Windows 10 PC with java 1.8


Version:  git-Spigot-628435a-768d7fc (MC: 1.16.4) (Implementing API version 1.16.4-R0.1-SNAPSHOT)
Plugin: Any GUI plugin, tested with CoinFlipper
Guidelines Read: Yes

 Description   

When having open GUI, and putting item in offset hand, it triggers InventoryClickEvent as correct. Event is also cancelled correctly, as item doesn't disappear from GUI inventory.

However, the item still appears at offset hand. Appears as ghost item, but annoying neverthenless.

 

Visual representation:

https://youtu.be/L7xrSBQmNpY



 Comments   
Comment by Black Hole [ 18/Dec/20 ]

Duplicate of SPIGOT-6145

Generated at Tue Apr 22 06:07:33 UTC 2025 using Jira 10.3.5#10030005-sha1:190c783f2bd6c69cd5accdb70f97e48812a78d14.