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?