Merge pull request #2730 from Lucwousin/scriptvm

mixins: check script argument type
This commit is contained in:
Lucwousin
2020-06-29 02:27:49 +02:00
committed by GitHub

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
{