mojira.dev
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

[media]
  1. 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

Linked issues

Attachments

Comments 1

probably related: MC-186087

Misode

boq

Confirmed

Important

Commands

20w22a

1.16 Pre-release 1

Retrieved