Hi I am trying to remove the item that normally goes out of the dispenser from the inventory of the dispenser.
My code is:
Is there someone who has a solution to this problem
Error code is:
'1 event-item' can't be removed from an inventory because the former is neither an item type nor an inventory (blockplacer.sk, line 5: remove 1 event-item from the inventory of event-block')
My code is:
Code:
on dispense:
if {placer.%event-block%} is true:
cancel event
set block south of the event-block to event-item
remove 1 event-item from the inventory of event-block
Is there someone who has a solution to this problem
Error code is:
'1 event-item' can't be removed from an inventory because the former is neither an item type nor an inventory (blockplacer.sk, line 5: remove 1 event-item from the inventory of event-block')