Skip to content

Add unknown node definition fallback where needed #113

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

Merged
merged 1 commit into from
Dec 19, 2024

Conversation

SmallJoker
Copy link
Member

This fixed errors caused by unknown nodes. core.registered_nodes[name] is nil in that case.

Fixes #112

@Pivert Please let me know whether this fixes your issue and whether there are any other errors that need fixing.

This fixed errors caused by unknown nodes. core.registered_nodes[name] is nil in that case.
@SmallJoker SmallJoker added the bugfix Fixes a bug label Dec 14, 2024
@BuckarooBanzay
Copy link
Member

@Pivert Please let me know whether this fixes your issue and whether there are any other errors that need fixing.

merging this anyway, the changes are sound 👍

@BuckarooBanzay BuckarooBanzay merged commit ab92865 into master Dec 19, 2024
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bugfix Fixes a bug
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Crash on Luanti 5.10.0 - node_crate.lua:241: attempt to index a nil value
2 participants