inventory-framework icon indicating copy to clipboard operation
inventory-framework copied to clipboard

onOpen & onClose are also called for contexts where the player is not located.

Open ch4ika opened this issue 10 months ago • 0 comments

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

ch4ika avatar Mar 28 '24 11:03 ch4ika