Jump to content

onGameTick()


Recommended Posts

Posted
3 hours ago, xcx said:

Method  does not work?

 

I am using stealth & I call this function 100x, I thought it would wait 100 game ticks and I have it log each time the function is called, all 100x are called immediately.

 

Is there a way to wait until the next game tick (e.g 1 tick ags switch will be successful every time then)

Works fine for me, gets called everytime a new tick starts

    @Override
    public void onGameTick() {
        log("test");
    }

 

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