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

Crash when typing empty selector "[x_rotation=]" or "[y_rotation=]"

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Minecraft 17w47a
    • Minecraft 17w45a
    • None
    • macOS Sierra
    • Confirmed

      How to reproduce:
      Type the following command in chat:

      /tp @p[x_rotation]

      or

      /tp @p[x_rotation=

      By completing the selector with a "=" or "}":

      /tp @e [x_rotation=]

      , it will crash the game.

      Crash message:

      The game crashed whilst chartyped event handler
      Error: java.lang.NullPointerException: charTyped event handler
      

      Crash report included.

            dinnerbone [Mojang] Nathan Adams
            SaziumR Roy Sajima
            Votes:
            5 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved:
              CHK: