Uploaded image for project: 'Minecraft: Java Edition'
  1. Minecraft: Java Edition
  2. MC-121674

Execute doesn't work in Functions

    XMLWordPrintable

Details

    • Bug
    • Status: Resolved
    • Resolution: Fixed
    • Minecraft 17w45a
    • Minecraft 17w45b
    • Windows 10 Thinkpad
    • Confirmed

    Description

      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

      Attachments

        Issue Links

          Activity

            People

              dinnerbone [Mojang] Nathan Adams
              cowslayer6789 Andrew Turcan
              Votes:
              5 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                CHK: