ITADN

Allow MCFunction to be ran using trigger

#222OpenAeryle 创建于 2023-11-29
enhancementgood first issuepriority-low
A
Aerylecommented
Add an option to `MCFunction` to allow non OP users to execute it. As of now, you need to create your own `trigger` scoreboard. Example syntax: ```ts MCFunction( 'hello_world', () => say('Hello world!'), { trigger: 'trigger_name' }, ); ```
1 条评论