Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix Player.onMoveItem not being called when switching items in inventory #3609

Merged
merged 1 commit into from
Aug 29, 2021

Conversation

marmichalski
Copy link
Contributor

Pull Request Prelude

Changes Proposed

Check if swapped item can be moved 🤷

Issues addressed: Closes #1804.

Copy link
Contributor

@MillhioreBT MillhioreBT left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I have not tried it, but at first glance I like this!

@nekiro
Copy link
Member

nekiro commented Aug 28, 2021

What exactly this fixes? I'm concerned that linked bug issue does not happen with current code.

@marmichalski
Copy link
Contributor Author

What exactly this fixes? I'm concerned that linked bug issue does not happen with current code.

It fixes exactly what's described in the issue.

Copy link
Contributor

@MillhioreBT MillhioreBT left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

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.

onMoveItem Event bug
4 participants