Uploaded image for project: 'Minecraft (Bedrock codebase)'
  1. Minecraft (Bedrock codebase)
  2. MCPE-64770

Game crashes when function executes command with duplicate arguments in selector

    XMLWordPrintable

Details

    • Icon: Bug Bug
    • Resolution: Fixed
    • 1.16.0.63 Beta
    • 1.16.0.60 Beta, 1.15.0.55 Beta, 1.14.30 Hotfix
    • Confirmed
    • Windows
    • 301085

    Description

      The bug

      When a function tries to execute a command with a selector that has duplicate arguments, the game crashes. Example:

      say @e[type=cow,type=pig]
      

      How to reproduce

      1. Download and open the attached world
      2. Press the button
      Game crashes

      Expected behavior

      The command should simply be skipped. This is what happens with all other malformed commands in bedrock functions.

      Tested Platforms

      • Windows 10
      • Android OnePlus 5

      Attachments

        Activity

          People

            tryashtar [Mod] tryashtar
            Votes:
            1 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              CHK: