-
Bug
-
Resolution: Duplicate
-
None
-
Minecraft 17w45a
-
None
-
Unconfirmed
When I put this in the function "test:t2" in a datapack
say hi execute if entity @e[type=player] run say helloplayer execute unless entity @e[type=blaze] run say hellonoblaze execute if entity @e[type=blaze] run say helloblaze say bye
and run
function test:t2
it outputs "hi" in the chat and then java.lang.NullPointerException.
Executing the individual commands has mostly expected behavior.... except the 'unless' one says 'no entity found' when it should chat 'hellonoblaze'.
- duplicates
-
MC-121642 "Optional" commands following conditional execute chain succeed/fail strangely
- Resolved