Skip to content

Fix hotbarDrop hook#51

Open
BoltsJ wants to merge 1 commit intoasacolips-projects:v12from
BoltsJ:hotbar-fix
Open

Fix hotbarDrop hook#51
BoltsJ wants to merge 1 commit intoasacolips-projects:v12from
BoltsJ:hotbar-fix

Conversation

@BoltsJ
Copy link
Copy Markdown

@BoltsJ BoltsJ commented Jan 29, 2025

The hotbarDrop hook was async preventing the return false from actually
cancelling the default handler. This wraps the function with a sync
lamba in order to properly return the false value needed while letting
the async handler run unawaited.

The hotbarDrop hook was async preventing the return false from actually
cancelling the default handler. This wraps the function with a sync
lamba in order to properly return the false value needed while letting
the async handler run unawaited.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant