This commit is contained in:
Chayapak 2023-07-23 09:12:09 +07:00
parent ec10c53d29
commit 000c53a079

View file

@ -60,6 +60,8 @@ public class EvalPlugin {
socket.on(BRIDGE_PREFIX + function.name, args -> { socket.on(BRIDGE_PREFIX + function.name, args -> {
final EvalFunction.Output output = function.execute(args); final EvalFunction.Output output = function.execute(args);
if (output == null) return;
socket.emit("functionOutput:" + function.name, output.message, output.parseJSON); socket.emit("functionOutput:" + function.name, output.message, output.parseJSON);
}); });
} }