Whitespace in command in function not allowed
If whitespaces are inserted in a command in a function it does not execute. (fails silently)
Example:
Works:
worldname/data/functions/test/test.mcfunction
setblock ~-3 ~2 ~ minecraft:stonebrick setblock ~3 ~2 ~ minecraft:stonebrick setblock ~ ~2 ~-3 minecraft:stonebrick setblock ~ ~2 ~3 minecraft:stonebrick tellraw @p ["",{"text":"Test","color":"gold","bold":true}]
Fails silently:
worldname/data/functions/test/testfail.mcfunction
setblock ~-3 ~2 ~ minecraft:stonebrick setblock ~3 ~2 ~ minecraft:stonebrick setblock ~ ~2 ~-3 minecraft:stonebrick setblock ~ ~2 ~3 minecraft:stonebrick tellraw @p ["",{"text":"Test","color":"gold","bold":true}]
(The tellraw is printed)
2017-10-25, 08:50 PM
2017-10-25, 08:55 PM
2017-10-25, 08:55 PM
0
0
-