Mojira Archive
MC-198110

commands in functions can have preceding and trailing spaces and tabs

Commands in functions can have preceding and trailing spaces and tabs.

      xp add @s 1 levels         
			tellraw @s {"text":"hello"}				
clear @s cobblestone 1                 

This can be conflicting in commands like /say, because it trims these characters.

say Look! I'm not displaying the trailing spaces and tabs!!    		

Preceding tabs and spaces may be intentional, because it then allows comments to be indented.

Unresolved

ErrorCraft

2020-08-15, 10:42 PM

2023-08-22, 02:43 PM

2

5

Confirmed

Commands

1.16.2 - 21w05b1.16.2, 20w51a, 21w03a, 1.16.5, 21w05b

-