diff --git a/src/main/java/org/bdware/sc/engine/DesktopEngine.java b/src/main/java/org/bdware/sc/engine/DesktopEngine.java index ed837e7..c0279dd 100644 --- a/src/main/java/org/bdware/sc/engine/DesktopEngine.java +++ b/src/main/java/org/bdware/sc/engine/DesktopEngine.java @@ -228,7 +228,6 @@ public class DesktopEngine extends JSEngine { public Object invokeFunction(String functionName, Object... args) { Invocable cal = engine; - try { return cal.invokeFunction(functionName, args); } catch (ScriptException e) { @@ -236,7 +235,6 @@ public class DesktopEngine extends JSEngine { } catch (NoSuchMethodException e) { e.printStackTrace(); } - return null; }