api: getRSGameState and setRSGameState functions (#2816)

* api: getRSGameState and setRSGameState functions

* api: blue wanted this
This commit is contained in:
Thomas Cylke
2020-10-20 04:48:33 -04:00
committed by GitHub
parent 96a428d0b0
commit b0fddd32d1
3 changed files with 20 additions and 1 deletions

View File

@@ -525,6 +525,7 @@ public abstract class RSClientMixin implements RSClient
}
@Inject
@Override
public void setGameState(int state)
{
assert this.isClientThread() : "setGameState must be called on client thread";