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

2 similar command blocks won't work

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Invalid
    • None
    • Minecraft 1.10.2
    • None
    • Unconfirmed

      These two repeating command blocks both work when the other one isn't active. But when they are both active the one that was active first will work, but the other one won't.
      I have narrowed it down to either two command blocks, or the other two, they are /testfor and /execute commands
      Sometimes, manually rewriting the commands will fix it
      Commands:
      /testfor @a[score_SpellCast_min=1,score_SpellCast=1]

      /testfor @a[score_SpellCast_min=2,score_SpellCast=2]

      /execute @a[score_SpellCast_min=1,score_SpellCast=1] ~ ~ ~ clear @a[c=1] minecraft:magma_cream 0 0

      /execute @a[score_SpellCast_min=2,score_SpellCast=2] ~ ~ ~ clear @a[c=1] minecraft:magma_cream 0 0

      To recreate just make the dummy objectives and have either the two execute, or two test for command blocks and have them both active,
      Then, set the score to 1, and check if it works. If it does, when you set it to 2, the other one won't work.

      I just remembered, to get the other command block i pick blocked it then edited the 1's to 2's

      If you can't recreate it, then it would be the /stat, and other commands that interfere with it :/

            Unassigned Unassigned
            TheOGHusky Brandyn Sigfuson
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: