Affects Version/s: Minecraft 17w45a
Fix Version/s: None
Environment:Windows 10 x64, nVidia GeForce GTX 1060, lots of RAM, Java 1.8.0_25
If I run a function that contains this one line:
the function works just fine. But if I run a function that uses a new command in it, like this:
execute as @p run say Hi
the function returns 'java.lang.NullPointerException' where it should have displayed 'Hi'. The game doesn't crash or anything, the function just stops executing with that error.
Also, if I run a function that contains these lines:
execute as @p run say How are you
It returns 'Hi' and 'java.lang.NullPointerException'. So the function bails when it hits the new command and won't continue with the next commands. The attached picture shows this function in action.
EDIT: Edited for clarity