import { world } from "@minecraft/server";
export default class JigComputer {
    constructor() {
    }
    static sharedInstance() {
        if (!JigComputer.instance) {
            JigComputer.instance = new JigComputer();
        }
        return JigComputer.instance;
    }
    init() { }
    sendEmail(from_id, from, subject, message) {
        const command = `/scriptevent jig_ccomp:email_broadcast {"addon":"57d_sbunk","computer":"${from_id}","addon_name":{"translate":"pack.57d_sbunk.name"},"computer_name":"${from}","subject":"${subject}","message":"${message}"}`;
        world.getDimension("overworld").runCommand(command);
    }
}

//# sourceMappingURL=../../../../_SBUNK_BPDebug/fs_sbunk/jig/JigComputer.js.map
