Majrusz Library

Majrusz Library

19M Downloads

Null Pointer Exception in handling of a EntityGlow event

roobscoob opened this issue ยท 2 comments

commented

( ( IMixinEntity )( Side.getLocalLevel().getEntity( data.entityId ) ) ).mlib$addGlowTicks( data.ticks );

The server may send an EntityGlow event for an entity the client does not have. this causes the client to crash.

image

In testing on 1.20.1 this occurred when a client with sufficient latency killed a mob while it was glowing.

commented

This also applies for Invisibility too

commented

Thanks for the report, I fixed it with 4af8cb9 and soon I will release a new version