Mojira Archive
MCM-1166

The new query.scoreboard molang doesn't fetch data from any scoreboard that has an uppercase character

  • Partner Rank: 2
  • Partner Team Reporting: MCTexels
  • Verification Build: 1.16.10056.0_x64_Test
  • Summary: The new query.scoreboard molang doesn't fetch data from any scoreboard that has an uppercase character
  • Impact: Unusable scoreboards with upperchase characters
  • Repro Steps:
    1. Create 2 objectives, mooA and mooa
      /scoreboard objectives add mooa dummy
      /scoreboard objectives add mooA dummy
    2. Create 2 pre_anim variables that fetch data from these scores
      v.score0=q.scoreboard('mooa');
      v.score1=q.scoreboard('mooA');
    3. Display mooa on a list and update the score
      /scoreboard objectives setdisplay list mooa
      /scoreboard players set @s mooa 3
    4. Both v.score0 and v.score0 return 3
    5. Display mooA on a list and update the score
      /scoreboard objectives setdisplay list mooA
      /scoreboard players set @s mooA 3
    6. Both v.score0 and v.score0 return 0
  • Repro Rate: 5/5
  • Observed Results: query.scoreboard converts every objective to a lowercase string
  • Expected Results: query.scoreboard should differentiate between lowercase and uppercase objectives
  • Screenshots / Videos Attached: No
  • Regression Builds: No
  • Notes:

Works As Intended

Yasser Benfoughal

2020-09-20, 05:45 PM

2020-09-28, 11:32 PM

2020-09-28, 11:32 PM

0

0

Future Release

-