1
0
mirror of https://github.com/SquidDev-CC/CC-Tweaked synced 2025-01-10 09:20:28 +00:00
CC-Tweaked/projects/common/src
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
..
client/java/dan200/computercraft Fix NPE when rendering turtle's label 2024-04-06 08:46:19 +01:00
main Update to latest NullAway 2024-04-06 08:38:44 +01:00
test/java/dan200/computercraft Fix creating a zero-sized pocket terminal 2024-03-26 21:59:41 +00:00
testFixtures/java/dan200/computercraft/test/shared Fix crash when joining a dedicated server 2023-10-08 15:22:32 +01:00
testMod Update to latest NullAway 2024-04-06 08:38:44 +01:00