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

/trigger gives a false error when no value for objective is set

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • None
    • Minecraft 16w06a, Minecraft 1.10.2, Minecraft 16w42a, Minecraft 16w43a, Minecraft 16w44a, Minecraft 1.11 Pre-Release 1, Minecraft 1.11, Minecraft 16w50a, Minecraft 1.11.1, Minecraft 1.11.2, Minecraft 17w06a
    • None
    • Confirmed

      Steps to reproduce:

      1. /scoreboard objectives add testTrigger trigger
      2. /trigger testTrigger add 1
        • You get "Invalid trigger name testTrigger" error, although testTrigger already exists. In this case the right message would be "Trigger testTrigger is not enabled"

      Code analysis by marcono1234 can be found in this comment.

            Unassigned Unassigned
            alvin8t Alex Tetzlaff
            Votes:
            2 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:
              CHK: