inventory-framework
inventory-framework copied to clipboard
Close context is called when opening
Is there an existing issue for this?
- [X] I have searched the existing issues
🐛 Describe the bug
If you call context.openForPlayer for an open view, the onOpen and the onClose context will be called for the other view.
✔️ Expected behavior
For the new view, only the onOpen context should be called.
👣 Steps to Reproduce
No response
💻 Platform
- [X] Bukkit
- [ ] Sponge
- [ ] Other
⭐ Server Version
1.20.2
📚 Library Version
3.0.8
✍️ Additional context
No response
It's supposed to be the way it is to avoid bugs like closed inventories for the client and not for the server ig