Mojira Archive
MC-121674

Execute doesn't work in Functions

attempting to run a function with one results in "java.lang.NullPointerException"

this only happens once you reach the command. Commands previous work. This does not invalidate the function.

say foo
execute at @s run tp ~ ~5 ~
say bar

prints:
[name of player] foo
java.lang.NullPointerException

and nothing else

Fixed

Andrew

[Mojang] Nathan Adams

2017-11-09, 12:26 AM

2017-11-10, 02:17 AM

2017-11-09, 11:58 AM

5

3

Confirmed

/execute, function

Minecraft 17w45a

Minecraft 17w45b