1
0
mirror of https://github.com/SquidDev-CC/CC-Tweaked synced 2025-03-14 07:28:13 +00:00
Jonathan Coates 825d45eb26
Fix NPE when rendering turtle's label
Minecraft.hitResult may /technically/ be null when rendering a turtle.
In vanilla, this doesn't appear to happen, but other mods (e.g.
Immersive Portals) may still take advantage of this.

This hitResult is then propagated to BlockEntityRenderDispatcher, where
the field was /not/ marked as nullable. This meant we didn't even notice
the potential of an NPE!

Closes #1775
2024-04-06 08:46:19 +01:00
..
2024-04-01 22:25:08 +01:00
2024-03-10 12:04:40 +00:00
2024-04-06 08:38:44 +01:00
2023-10-28 17:58:11 +01:00