Skip to content

No way to access player from MBDMachineEvents.onUI #179

@Rimevel

Description

@Rimevel

Working on some GUI stuff that need to check the players inventory, and discovered that there is no way to access the player from inside the MBDMachineEvents.onUI event.

MBDMachineEvents.onUI(BLOCK_ID, (e) => {
        const { player } = e.event; //This currently does not work, but it would be super useful if it did :)
});

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions