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

execute score <a> <b> matches <range> throws parse error in mcfunction file, but not on command line

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Invalid
    • None
    • Minecraft 1.14 Pre-Release 3
    • None
    • Java version : 1.8.0 201b9 x64
      4G Ram allocated to minecraft
      1.14 pre release 3 (maybe earlier? first time trying)
      Windows 10 Home/x64
    • Unconfirmed
    • (Unassigned)

      I have the following command:
      execute if score something objective matches 1.. run function do_stuff

      The parser say:

      Whilst parsing command on line 4: Incorrect argument for command at position 43: ...r matches <--[HERE]
          at java.util.concurrent.CompletableFuture.encodeThrowable(Unknown Source)
          at java.util.concurrent.CompletableFuture.completeThrowable(Unknown Source)
          at java.util.concurrent.CompletableFuture.uniApply(Unknown Source)
          at java.util.concurrent.CompletableFuture$UniApply.tryFire(Unknown Source)
          at java.util.concurrent.CompletableFuture$Completion.exec(Unknown Source)
          at java.util.concurrent.ForkJoinTask.doExec(Unknown Source)
          at java.util.concurrent.ForkJoinPool$WorkQueue.runTask(Unknown Source)
          at java.util.concurrent.ForkJoinPool.runWorker(Unknown Source)
          at java.util.concurrent.ForkJoinWorkerThread.run(Unknown Source)
      
      Caused by: java.lang.IllegalArgumentException: Whilst parsing command on line 4: Incorrect argument for command at position 43: ...r matches <--[HERE]
          at ca.a(SourceFile:67)
          at re.a(SourceFile:146)
          ... 7 more
      

      If I issue the exact command in chat/command line if works as expected.

            Unassigned Unassigned
            Azrhei Quinn Roundy
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: