check script argument type

This commit is contained in:
Lucwousin
2020-06-29 02:25:22 +02:00
parent 186d166479
commit 9c05215c43

View File

@@ -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
{