Double scores defintition in selectors crashes minecraft. when using functions
Partner Rank
4
Partner Team Reporting
Blockception
Verification builds
Windows 1.14.1
Summary
Double score definitions in selectors cause Minecraft to crash. but only if they are inside mcfunctions.
Impact
It made debugging harder as I had no idea what caused Minecraft to cause. normally an error during parsing is given with such mistakes. Or malfunction simply malfunctions but never crashes.
Repro Steps
Step 1: Create a mcfunction that is executable from inside the world.
Step 2: Give it a command to run that uses a selector as a way of targeting
Step 3: Define a scoreboard value twice like such:
```
testfor @e[scores=
,scores=
{B=1..}]
```
Step 4: execute mcfunction.
Repro Rate
100% on my end.
Observed Results
Minecraft freezes and then simply quits.
Expected Results
Either report the error back to the user during parsing or executions of the function. but not a hard crash
Regression Builds
No idea
Notes
I added a test world with a function called mistake that causes my Minecraft to crash.
and a function called proper that works as intended