#Why wont it work?

1 messages · Page 1 of 1 (latest)

silent valley
#

I want to remove the item in the slot, i tried ```js
item.amount = 0

but i just got an error and when i used setItem nothing happend
spare owl
silent valley
#

wait ill try

#

Nothing happens,

#

but when i use dirt instead of air it works but i get dirt

spare owl
silent valley
spare owl
# silent valley Thanks it works

I searched the posts for "remove item" since it's a common situation, there must have already been someone who had asked the question and gotten an answer