Jump to content

Selecting spot in inventory


Recommended Posts

Posted
Item[] contents = inventory.getItems();

        if (contents.length > 0) {
            if (inventory.interact("Interact with this shiz", contents[contents.length - 1].toString()));
        }

Something like this i would assume. i have not tested it or anything but you could try it and tell me how it goes! :P

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...