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

Parsing exceptions count as unsuccessful execution but still execute the command


    • Icon: Bug Bug
    • Resolution: Cannot Reproduce
    • None
    • Minecraft 16w05b, Minecraft 16w36a, Minecraft 1.11, Minecraft 1.13, Minecraft 18w31a, Minecraft 1.13.2, Minecraft 19w03c, Minecraft 19w04b, 1.15.2, 1.16.1, 20w49a
    • Confirmed
    • (Unassigned)

      The bug

      When a parsing exception inside a nested command occurs the command returns that it ran unsuccessful, however it still gets executed.

      How to reproduce

      Use the following command and place a comparator next the command block or a conditional chain command block with a command

      /setblock ~ ~1 ~ oak_sign{Text1:"\"Q\"",Text2:"\"Q\"",Text3:"\"Q\"",Text4:"Not JSON!"}

      The first JSON data for Text4 is invalid, but instead of not placing the sign at all or ignoring this, it places the sign but states it was unsuccessful

            Unassigned Unassigned
            marcono1234 [Mod] Marcono1234
            5 Vote for this issue
            6 Start watching this issue