You are browsing as a guest. Sign up (or log in) to start making projects!

50m 58s logged

Overrided the default item behavior and then added custom logic for the item’s behavior: adds the full stack of the first item in the hot bar to every empty inventory slot. Logic run-down: use a for loop to iterate through the person inventory and check if the slot is empty, then copy the first item (stored first in a variable) to that empty slot.

0
4

Comments 0

No comments yet. Be the first!