-
Bug
-
Resolution: Duplicate
-
Minor
-
None
-
None
-
None
-
This server is running CraftBukkit version 3862-Spigot-d2eba2c-db4ba28 (MC: 1.20.1) (Implementing API version 1.20.1-R0.1-SNAPSHOT)
-
Yes
I used PlayerInteractEvent to check when a player equips an armor piece that is in their hand by right-clicking it, expecting that the interaction type would be Action.RIGHT_CLICK_AIR. However, my plugin wasn't working so I made it log the action, and I was surprised to find that the interaction type was Action.LEFT_CLICK_AIR.
Before you ask, when right-clicking a block, the action is correctly Action.RIGHT_CLICK_BLOCK.
- duplicates
-
SPIGOT-7464 PlayerInteractEvent double firing
- Resolved