
player.openChestGUI clears player inventory if user exits while the gui is open
khazenor opened this issue ยท 1 comments
Minecraft Version
1.21.1
KubeJS Version
kubejs-neoforge-2101.7.1-build.181
Rhino Version
rhino-2101.2.7-build.74
Architectury Version
not installed
Forge/Fabric Version
neoforge 21.1.131
Describe your issue
Reproduction steps:
- Copy the following files to the kubejs dir (there is really only one file you need, the server file) kubejs.zip
- open a new world in creative, spawn in a stick and other items to your inventory
- right click the stick to open the chestGUI
- while the GUI is still open, exit the game by clicking the "x" button
- open the game again and join the world
Bug:
- The player's inventory is now cleared
What should happen:
- The player's inventory should stay the same as before they exited the game
Latest log: latest.log
KubeJs logs: kubejsLogs.zip
Crash report/logs
No response