Mojira Archive
MCPE-64770

Game crashes when function executes command with duplicate arguments in selector

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

Fixed

[Mod] tryashtar

2020-03-06, 11:42 PM

2020-05-21, 06:12 AM

2020-05-21, 06:12 AM

1

0

Confirmed

301085

crash

1.16.0.60 Beta, 1.15.0.55 Beta, 1.14.30 Hotfix

1.16.0.63 Beta