DevNatan / inventory-framework

Minecraft Inventory API framework
MIT License
117 stars 21 forks source link

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

Open ch4ika opened 2 months ago

ch4ika commented 2 months ago

Is there an existing issue for this?

🐛 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

⭐ Server Version

1.20.2

📚 Library Version

3.0.8

✍️ Additional context

No response