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
2020-03-06, 11:42 PM
2020-05-21, 06:12 AM
2020-05-21, 06:12 AM
1
0
301085