runelite-api: allow runScript to take a plain Object...

This commit is contained in:
Max Weber
2019-08-09 08:05:49 -06:00
parent a019d39361
commit 4cec794a29
2 changed files with 4 additions and 3 deletions

View File

@@ -1253,11 +1253,10 @@ public interface Client extends GameEngine
*
* This method must be ran on the client thread and is not reentrant
*
* @param id the script ID
* @param args additional arguments to execute the script with
* @param args the script id, then any additional arguments to execute the script with
* @see ScriptID
*/
void runScript(int id, Object... args);
void runScript(Object... args);
/**
* Checks whether or not there is any active hint arrow.

View File

@@ -622,6 +622,8 @@ public interface Widget
*/
Object[] getOnLoadListener();
Object[] getOnInvTransmitListener();
/**
* Returns the archive id of the font used
*