Rendering crash with balm-fabric:milk in a TechReborn cell
SubordinalBlue opened this issue · 6 comments
Minecraft Version
1.20.1 (LTS)
Mod Loader
Fabric
Mod Loader Version
0.15.11
Mod Version
7.3.7
Balm Version
7.3.7 (how is this question different than the previous?)
Describe the Issue
AoF7 updated to Balm 7.3.7 and now we get a rendering crash in REI, on a TR cell with balm-fabric:milk
Crash does not happen with Balm 7.3.6.
Further discussion, including a crash log, on the AOE discord: https://discord.com/channels/570630340075454474/1273504044916408320
Logs
No response
Do you use any performance-enhancing mods (e.g. OptiFine) or custom server distributions (e.g. SpongeForge)?
No response
Balm could register a render handler (and will, since it's just a one-liner), but there may always be other mods who just needed a quick dummy fluid and didn't bother with its rendering.
Therefore this is absolutely also something that should be fixed in Tech Reborn as well.
Further discussion, including a crash log, on the AOE discord: https://discord.com/channels/570630340075454474/1273504044916408320
But, ok:
The further discussion already linked include a player confirming it was not other liquids in TR cells, and that the crash didn't happen with the previous version of Balm.
This is an issue in Tech Reborn. FluidRenderHandlerRegistry.INSTANCE.get
is explicitly @Nullable
but TechReborn is not checking for null, resulting in the crash above.
Hmm. True on surface, but wondering why it's only balm-fabric:milk and not the other ~20 give or take different mods providing fluids listed in TR cells in REI (in AoF7) that seems to be leaving that null.
(screen shot from AoF7 with Balm rolled back one version. Yes, ik, one can't see what fluids are in there from this shot; you'll have to trust me on that)
[ edited for a darker screen shot ]