fix example
- "$(" is still invalid when in the same line as a macro usage, as it currently cannot be escaped in minecraft
This commit is contained in:
parent
76d58c0766
commit
46499b6abe
|
@ -22,7 +22,7 @@ fn main() {
|
|||
bar_function.add_command(call_func);
|
||||
// add a complex command to the function "bar"
|
||||
bar_function.add_command(Command::Execute(Execute::As(
|
||||
"@a".to_string(),
|
||||
"@a".into(),
|
||||
Box::new(Execute::If(
|
||||
Condition::from("block ~ ~ ~ minecraft:stone")
|
||||
| !(!Condition::from("block ~ ~1 ~ minecraft:stone")
|
||||
|
|
Loading…
Reference in New Issue