Jump to content

Custom break handler


Recommended Posts

Posted

Alternatively if you don't want to make a custom break manager, you can simply tell the bot to go to an area before breaks are triggered by using this method that based pat improved recently:

getBot().getTimeUntilNextBreak()

this will tell you the time (in seconds now) until breaks will trigger. So if getBot().getTimeUntilNextBreak() < 20, walk to bank or walk to a safe area.

  • Like 3
  • Heart 2

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