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

Ignore unknown nodes when loading in saves #238

Merged
merged 2 commits into from
Apr 16, 2024
Merged

Conversation

luk3yx
Copy link
Contributor

@luk3yx luk3yx commented Jan 7, 2024

Fixes #210, however this isn't a perfect solution as unknown nodes just get silently ignored.

@MoNTE48
Copy link

MoNTE48 commented Jan 7, 2024

This has been used in MultiCraft for a long time without any noticeable performance impact.

@sfan5
Copy link
Collaborator

sfan5 commented Feb 10, 2024

This is useful but I planned to implement it in a way that it can also warn the user.

@sfan5 sfan5 merged commit 469c3bf into Uberi:master Apr 16, 2024
3 checks passed
@BuckarooBanzay
Copy link

fyi: i created the placeholder mod (https://github.com/buckarooBanzay/placeholder) for exactly this use-case: it preserves unknown nodes coming from an external schematic/build and "resolves" them as soon as the mod is available

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.

crash when loading a save with unregistered nodes
4 participants