Describe the bug
MobOwner causes the client to crash with a NullPointerException when rendering owner information for an ender pearl entity.
The crash only occurs when the pearl is visible on screen and MobOwner attempts to render its owner information. If the entity remains outside the camera view, the game does not crash.
To Reproduce
- Enable MobOwner module
- Join a multiplayer server
- Look at an ender pearl entity
- The client crashes immediately
net.minecraft.class_148: Rendering entity in world
at knot//net.minecraft.class_898.method_72976(class_898.java:180)
...
Caused by: java.lang.NullPointerException
at org.rusherhack.client.impl.ʡ.h(ʡ.java)
at org.rusherhack.client.impl.ʡ.Ʌ(ʡ.java:48)
at org.rusherhack.core.event.subscribe.MethodSubscriber.invoke(MethodSubscriber.java:59)
at org.rusherhack.core.event.EventBus.post(EventBus.java:172)
at org.rusherhack.core.event.EventBus.post(EventBus.java:140)
at org.rusherhack.mixin.MixinHelper.b(MixinHelper.java)
at org.rusherhack.mixin.MixinHelper.onRenderEntityNametag(MixinHelper.java:1187)
at knot//net.minecraft.class_897.handler$ble000$preSubmitNametag(class_897.java:2536)
...
---- Minecraft Crash Report ----
// This is a token for 1 free hug...
Time: 2026-06-04 10:13:00
Description: Rendering entity in world
java.lang.NullPointerException: Rendering entity in world
at org.rusherhack.client.impl.ʡ.h(ʡ.java)
at org.rusherhack.client.impl.ʡ.Ʌ(ʡ.java:48)
...
at org.rusherhack.mixin.MixinHelper.onRenderEntityNametag(MixinHelper.java:1187)
...
-- EntityRenderState being rendered --
Additional context
Minecraft Version: 1.21.11
Describe the bug
MobOwner causes the client to crash with a NullPointerException when rendering owner information for an ender pearl entity.
The crash only occurs when the pearl is visible on screen and MobOwner attempts to render its owner information. If the entity remains outside the camera view, the game does not crash.
To Reproduce
Additional context
Minecraft Version: 1.21.11