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 crashes when other mods add fluids of same name #2212

Merged
merged 7 commits into from
Nov 29, 2023

Conversation

serenibyss
Copy link
Member

@serenibyss serenibyss commented Nov 27, 2023

GT now defers to the already registered fluid, ensuring that the fluid it stores in materials is the "master fluid reference" instead of being a secondary reference. Using secondary reference has issues with some fluid registry calls, notably getFluidName(), which is used in many places including serialization and bucket items

@serenibyss serenibyss requested a review from a team as a code owner November 27, 2023 16:31
@serenibyss serenibyss added the type: bug Something isn't working label Nov 27, 2023
@serenibyss serenibyss force-pushed the sb-fix-other-mod-fluids branch from 9ef22b9 to 804411f Compare November 27, 2023 23:48
@serenibyss serenibyss merged commit 2186489 into master Nov 29, 2023
@serenibyss serenibyss deleted the sb-fix-other-mod-fluids branch November 29, 2023 04:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants