mojira.dev
MC-121301

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)

Linked issues

Comments 0

No comments.

Øystein Smith

(Unassigned)

Unconfirmed

Minecraft 1.12.2

Retrieved