Code:
set {_items} to new ArrayList()
loop all items in player's inventory:
{_items}.add(loop-item)
loop ...{_items}:
give loop-value to player
When I printed out the {_items}, the user inventory slot was printed. Is the add part wrong?
Just so you know, it's just for study.
So i hope you don't answer not to use ArrayList.
Last edited: