Uploaded image for project: 'Minecraft (Bedrock codebase)'
  1. Minecraft (Bedrock codebase)
  2. MCPE-172922

[ScriptAPI] ScoreboardObjective::removeParticipant & ScoreboardObjective::getScore fails when using not defined identity

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • 1.21.0
    • 1.20.20.21 Preview
    • Plausible
    • Multiple
    • 1074276

      When using methods such as removeParticipants or getScore they fails and throw an error instead of returning undefined or false

      Steps to reproduce:

      • Create Scoreboard objectvive if not exist
      • try to remove random string from objective
      • try to remove random entity from objective

      Observed Results:

      Throw error: Failed to resolve identity for '...'
      

      Expected Results:

      methods should return false or undefined as is intended

      Pack to reproduce: ScoreboardsObjectiveMethods fails.js.mcpack

            ConMaster2112 ConMaster2112
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:
              CHK: