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

impactedBlocks throw :TypeError: Array contains unsupported type.

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Incomplete
    • None
    • 1.18.10.20 Beta
    • None
    • Unconfirmed
    • Multiple

      BeforeExplosionEvent 's impactedBlocks.
      if use Array.filter() filter it will throw: TypeError: Array contains unsupported type.
      example:
      event.impactedBlocks = event.impactedBlocks.filter((arg) =>

      { return arg.y < 48 }

      );

            mao Fiercemao
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: