#Inventory Stacked

1 messages · Page 1 of 1 (latest)

nocturne grove
#

When loading items variable to inventory for example {items::*} that sets to diamond, iron, diamond, gold

CODE:
loop {items::*}:
set slot {_a} of player's inventory to loop-value
add 1 to {_a}
will result that the diamonds would be in 2 different slots and wont be stacked, how do I fix it?

hallow radish
#

If they’re in different slots thats because thats how they are in the list

#

Youre not saving them right