1
0
Fork 0

fix wrong API def

This commit is contained in:
AFCMS 2021-07-02 01:06:01 +02:00
parent bc2e122652
commit 19745cafbc
1 changed files with 2 additions and 2 deletions

View File

@ -41,11 +41,11 @@ mcl_commands.register_command("test", {
#### As a player: #### As a player:
``` ```
mcl_commands.execute_command("test", "foo bar true 1", {commander=player, pos=player:get_pos()}) mcl_commands.execute_command("test", "foo bar true 1", {type="player", commander=player, pos=player:get_pos()})
``` ```
#### As a command block: #### As a command block:
``` ```
mcl_commands.execute_command("test", "foo bar true 1", {commander=commander, pos=node_pos}) mcl_commands.execute_command("test", "foo bar true 1", {type="commandblock", commander=commander, pos=node_pos})
``` ```
### `mcl_commands.get_target_selector(target_selector)` ### `mcl_commands.get_target_selector(target_selector)`