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 not updating vessel shelf infotext #3073

Merged
merged 2 commits into from
Nov 3, 2023
Merged

Conversation

Niklp09
Copy link
Contributor

@Niklp09 Niklp09 commented Nov 1, 2023

Fixes #3072

Copy link
Contributor

@appgurueu appgurueu left a comment

Choose a reason for hiding this comment

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

Added on_metadata_inventory_move because update_vessels_shelf also updates the formspec, which should be triggered on inventory move actions as well.

(Technically we could just do on_metadata_inventory_(put|take|move) = update_vessels_shelf but that would be error-prone if someone were to add a second parameter to update_vessels_shelf (since we would be passing extraneous arguments).)

@sfan5 sfan5 merged commit 601ec6c into minetest:master Nov 3, 2023
1 check passed
@Niklp09 Niklp09 deleted the vessel_fix branch November 3, 2023 20:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Vessel description does not update
3 participants