Jump to content

Inventory returning something as true when it should be false.


Recommended Posts

Posted

I've been checking my inventory for a certain item and if it's no longer in the inventory, I'd set my restock boolean to true. However when I world hop/log back in from a break it occasionally seems to think the item's not in the inventory, although it is. I tried putting in a check for myPlayer.isVisible as well to see if that would fix it but still no luck.. Any ideas?

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...