Jump to content

Cancel current state and go to next


Matenia
 Share

Recommended Posts

Hey @Droidz

is there any way to cancel the current state and go to the next?
I noticed recently, that sometimes my bot will get stuck in regen state despite being at 100%hp/mana and never leave. Stopping the bot gets stuck and ONLY pause allows me to truly stop it and kill whatever thread is still running.

It could be, that my plugin is causing this bug. But I've spent an entire day trying to find out what causes it and can't find anything.

Therefore, I'd like to just cancel regen in my plugin, if regen conditions are met. Is there any easy way to do this?

Link to comment
Share on other sites

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
 Share

×
×
  • Create New...