[SPIGOT-1224] Bug InventoryClickEvent Created: 04/Oct/15 Updated: 30/Jun/16 Resolved: 30/Jun/16 |
|
Status: | Resolved |
Project: | Spigot |
Component/s: | None |
Affects Version/s: | None |
Fix Version/s: | None |
Type: | Bug | Priority: | Minor |
Reporter: | Erik-Jan Rieksen | Assignee: | Unassigned |
Resolution: | Fixed | Votes: | 0 |
Labels: | chest, firing, inventoryclickevent, menu, not, spigot | ||
Environment: |
Linux Centos 6.6 Java 8 64 bits |
Plugin: | personal development |
Description |
When closing a chest inventory, and opening a chest inventory in the same tick, the InventoryClickEvent is never fired when clicking on any of the slots. I know that this is a problem with Spigot, because if I delay the exact code by one tick, it works just fine. Why would you open a new chest inventory the same tick as closing one? I would use this when chest inventories are following up after each other. E.g. in a shop there would be a confirm chest inventory. |