Jump to content

How to log items left in bank?


Recommended Posts

Posted

How would I go about logging on my paint how many items I have left in my bank?

If I'm running multiple accounts it's good to know which account is about to run out of a certain item in it's bank.

 

I've tried something like
 

int itemsLeft = getBank.contains(item);

g.drawString("Items left: " + itemsLeft);

 

but that shows me the amounts left only when I have the bank open. If it's not opened it doesn't show anything.

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