#Compressor removes the item

1 messages · Page 1 of 1 (latest)

rancid tide
#

I made a compressor and it gives me the item but if i try to get 2 i still only have 1

    if player has 32 dirt in their inventory:
        remove 32 dirt from player
        wait 1 tick
        give player dirt of unbreaking 1 named "&b&lCompressed Dirt" with nbt from "{HideFlags:1}"```
#

how do i fix it so that once i get another 32 dirt it doesnt remove my already gotten Compressed dirt

#

cuz im just constantly stuck at 1 compressed dirt

#

i think the issue is that its removing 32 dirt which includes one of the compressed

#

how do i make it so it doesnt take items with nbt data

uneven tusk
#

remove 32 of plain dirt from player

rancid tide
#

ahh

#

didnt know it was that simple

#

lemme try

#

Yep works thanks