Merge pull request #2730 from Lucwousin/scriptvm
mixins: check script argument type
This commit is contained in:
@@ -145,7 +145,7 @@ public abstract class ScriptVMMixin implements RSClient
|
||||
client.getLogger().error("Error in JavaScriptCallback", e);
|
||||
}
|
||||
}
|
||||
else
|
||||
else if (arguments[0] instanceof Integer)
|
||||
{
|
||||
try
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user