Reformat and clean up "scripting" package

This commit is contained in:
P0nk
2021-09-09 23:26:45 +02:00
parent 9b1dc76854
commit d389665bd7
18 changed files with 3636 additions and 3568 deletions

View File

@@ -49,7 +49,7 @@ public class PortalScriptManager extends AbstractScriptManager {
if (script != null) {
return script;
}
ScriptEngine engine = getInvocableScriptEngine(scriptPath);
if (!(engine instanceof Invocable iv)) {
return null;