Bug with Custom GUI Inventory Slots

Published by Hidan on
Status
Works as designed
Issue description

I was trying to made a simply Exchange system for my custom GUI which looks like this:

If: Item in slot 0 = Iron
Do: Place Diamond in slot 2

I have tried to bind this procedure to Inventory Button and On Block Tick Update
But on tick update it didn't want to work same with on button event but when I have somehow manage
to make it work it will consume Item from slot 1 and place it in slot 2 but when I try to take Item from slot 2 it removes it and 
brings back my item from Slot 1 or even in some cases it consumes item from slot one but also when all items are consumed from slot 0 and clicking it when its empty it will bring back same amount of this item back

Also I got same Error message to one that when I put Call for Procedure last time:
[17:59:26] [Server thread/INFO] [STDERR]: [mod.mcreator.mcreator_asdf:executeProcedure:21 Failed to load dependency guiinventory for procedure asdf!

adsf Stands for my Procedure mod element

Issue comments

Block can't provide guiinventory so this is totally normal. guiinventory can only be used in GUI procedures. To get items from block inventory or to manage block slots, use block procedure blocks, not gui procedure blocks.

I did both with Gui procedure and Block Procedure but its still not working also items disappear from my blocks inventory even when set to keep it 

Example

Ou I thought that I have to use name of my Inventory Gui in Custom GUI