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

BeforeItemUseOnEvent.getBlockLocation() returns undefined

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • None
    • 1.19.70.22 Preview, 1.19.70
    • None
    • Confirmed
    • Multiple
    • 977809

      As of 1.19.70.22, the property blockLocation in BeforeItemUseOnEvent is now a function. However, this new function is not functioning properly. It's supposed to return a Vector3 object but returns undefined instead. The other event, The same method in ItemUseOnEvent works fine though.

            SIsilicon Roujel Williams
            Votes:
            9 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved:
              CHK: