runelite-client: add tick counter

This commit is contained in:
Adam
2018-05-07 09:31:16 -04:00
parent 5fde24cecb
commit ccef1dddd0
3 changed files with 22 additions and 0 deletions

View File

@@ -119,6 +119,9 @@ public class Hooks
_deferredEventBus.replay();
eventBus.post(tick);
int tick = client.getTickCount();
client.setTickCount(tick + 1);
}
clientThread.invoke();