"Spawn Gem" Procedure Duplicates Amount of "Get copy of item from slot (X)"

Published by Conborg on
Status
Resolved
Issue description

So I am making a 'Dropper' type of block for my mod. Therefore meaning I would like to take an item from the block's inventory and drop it on the ground in front of said block. However there has been a small issue of that when I activate the procedure of Spawning a Gem and get a "Copy of item" from the block's slot, example: slot 0. It gets the copy of the item from slot 0, and it drops that item, however it seems to drop it... but also the amount of that itemstack from that slot. So basically I want it to just drop ONE item, not drop and duplicate the amount in that stack when spawning it.

Issue comments

Use local variable of type itemstack.

Set the var to "get itemstack copy from slot n"

Set itemstack size to 1 of this local var.

Spawn gem of this local variable itemstack instead.

Also read the tracker rules:

How to and similar questions should be posted on forums instead.