'withState' does not update properties correctly when two blocks have the same property
Partner Rank: 2
Partner Team Reporting: Gamemode One
Verification builds and Platforms: 1.20.10.20
Summary:
When two custom blocks have the same custom properties, the properties are only updated properly via Scripting on the first block (in alphabetical order of file path)
Impact:
This does not impact any store content, but does impact the development of internal tools to assist in building
Repro Steps:
- Download the attached pack
- Apply the pack to a world with Beta APIs enabled
- Give yourself `gm1:blocka` and `gm1:blockb`
- Place down `blocka` and observe `gm1:beta` set to true
- Place down `blockb` and observe `gm1:beta` still set to false
- Observe `scripts/App.js` and see that both should behave the same
Observed Results:
The block property `gm1:beta` is set to 'false' on `blockb`
Expected Results:
The block property `gm1:beta` is set to 'true' on `blockb`
Screenshots/Videos attached: No.