Jump to content

Check if stamina potion active


Recommended Posts

  • 2 years later...
Posted (edited)
On 3/16/2017 at 6:44 PM, Night said:

There definitely is a config, I want to say from memory it's 738 but I could be wrong.

 

On 3/16/2017 at 6:59 PM, Stimpack said:

Yup there is a config. Currently it is 638.

 

Config updated to: 1575.

Example to check if Stamina potion is active goes as following as of date:

    public boolean isStaminaPotionActive() {
        return getConfigs().get(1575) > 0;
    }

 

Edited by Valid
  • Like 1

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