inventory-framework
inventory-framework copied to clipboard
onOpen & onClose are also called for contexts where the player is not located.
Is there an existing issue for this?
- [X] I have searched the existing issues
🐛 Describe the bug
The methods are always called, regardless of whether the player is there or not. In addition, the onClose context is not called when you use the back function but the inventory actually closes.
✔️ Expected behavior
No response
👣 Steps to Reproduce
No response
💻 Platform
- [ ] Bukkit
- [ ] Sponge
- [ ] Other
⭐ Server Version
1.20.2
📚 Library Version
3.0.8
✍️ Additional context
No response