Well, I have a variable with the block location, the question is: how do I put the block on this location?
Here are some snippets of code:
Set variable:
Set block:
And error:
Here are some snippets of code:
Set variable:
code_language.skript:
loop all blocks in radius 5 around {_plotloc}:
set {_block} to loop-block
set {_blockloc} to location of loop-block
...
set {tmp::blocks::spawn::%{_num}%::%{_blocknum}%} to {_blockloc}
Set block:
code_language.skript:
loop {tmp::blocks::spawn::%{_num}%::*}:
set {_block} to {tmp::blocks::spawn::%{_num}%::%loop-value-2%}
set block {_block} to grass
And error:
code_language.skript:
[15:45:10 ERROR]: There's no world in a periodic event if no world is given in the event (e.g. like 'every hour in "world"') (System.sk, line 282: set block {_block} to grass')