Mojira Archive
MC-186101

Some commands in functions cause a NullPointerException

The bug

Previously it was possible to use the seed command in data pack functions. Now it makes the function invalid and shows a NullPointerException when loading.

execute store result score #seed temp run seed

How to reproduce

  1. Download the attached data pack mc-186101.zip and place it in the world folder
  2. /reload
    The function mc-186101:seed isn't loaded and an error is shown in the output log
    Failed to load function mc-186101:seed
    java.util.concurrent.CompletionException: java.lang.NullPointerException

Fixed

[Helper] Misode

[Mojang] Bartosz Bok

2020-05-29, 04:50 PM

2020-06-03, 02:44 PM

2020-06-03, 02:44 PM

6

3

Confirmed

Important

Commands

20w22a

1.16 Pre-release 1