Items don't stay in GUI

Published by FourEyes on
Status
Resolved
Issue description

I have made an item that has a GUI and bound them and set the item to have inventory. However, when I place the items into the input slots and close the gui they come back into my inverntory. I'm not sure if this is intended or if this is a bug?

Issue comments

When possible, attach your MCreator workspace (or even better a minimal example workspace required to reproduce the bug), game logs (full logs, do not crop them, in text format, not screenshots of logs) from the Console tab or terminal and steps to reproduce the bug in your workspace. If logs are long, use service such as Pastebin to host the log and provide the link to the log from the ticket. Please specify which mod elements to check in your workspace too, if applicable.
 

Klemen, If you check now the workspace should be there. It only has 3 elements as I was using it to test if certain things would work.

You are manually opening GUI. 

When the item is bound to GUI, it will open on right-click by default.

Procedure block to open GUI can't determine it is itemstack context.

I have a command that will open the GUI and after I close it all my items that I put in it go back in my inventory