inventory-framework
inventory-framework copied to clipboard
Render Context
Is there an existing issue for this?
- [X] I have searched the existing issues
🐛 Describe the bug
Basicamente se eu criar um inventário com a api sempre que um jogador abre esse inventário é criado um objeto RenderContext. E se futuramente eu ficar fechando e abrindo esse inventário e que o inventário seta um item (por exemplo em onFirstRender) esse item é setado em todos os renders associados a esse jogador, inclusive os que já foram fechados. Também se criar um mutableState e incrementar num inventário (associado a um render de um jogador), também incrementa em todos os renders. É realmente para ser feito dessa forma?
✔️ Expected behavior
No response
👣 Steps to Reproduce
No response
💻 Platform
- [x] Bukkit
- [ ] Sponge
- [ ] Other
⭐ Server Version
1.8
📚 Library Version
3.0.8
✍️ Additional context
No response