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

Allow removal of item definition fields #14675

Merged
merged 2 commits into from
May 20, 2024

Conversation

appgurueu
Copy link
Contributor

Closes #14644

@appgurueu appgurueu added Trivial The change is a trivial bug fix, documentation or maintenance change, as per the Git Guidelines Feature ✨ PRs that add or enhance a feature labels May 16, 2024
@TubberPupper
Copy link

Huh, that's cool, I never heard of rawset :O

builtin/game/register.lua Outdated Show resolved Hide resolved
@sfan5 sfan5 merged commit 408faa1 into minetest:master May 20, 2024
2 checks passed
@sfan5
Copy link
Member

sfan5 commented May 20, 2024

Ah, I forgot.
This needs an entry in core.features.

@sfan5
Copy link
Member

sfan5 commented May 21, 2024

Also I guess an unit test would be nice (and easy to write).

@appgurueu
Copy link
Contributor Author

I don't think there's much point in a feature flag for this, but it surely won't hurt. Pushing this soon.

@appgurueu appgurueu deleted the override-item-del-fields branch May 21, 2024 16:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Feature ✨ PRs that add or enhance a feature Trivial The change is a trivial bug fix, documentation or maintenance change, as per the Git Guidelines
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Removing Variables from Item Def/Definitions
3 participants