Mirror von
https://github.com/GeyserMC/Geyser.git
synchronisiert 2024-11-03 14:50:19 +01:00
Fix NPE in ServerEntityAnimationPacket (#1942)
Closes: https://github.com/bundabrg/GeyserReversion/issues/41 Co-authored-by: bundabrg <bundabrg@grieve.com.au>
Dieser Commit ist enthalten in:
Ursprung
62cbdb8f5c
Commit
fc712ea892
@ -60,6 +60,9 @@ public class JavaEntityAnimationTranslator extends PacketTranslator<ServerEntity
|
|||||||
case LEAVE_BED:
|
case LEAVE_BED:
|
||||||
animatePacket.setAction(AnimatePacket.Action.WAKE_UP);
|
animatePacket.setAction(AnimatePacket.Action.WAKE_UP);
|
||||||
break;
|
break;
|
||||||
|
default:
|
||||||
|
// Unknown Animation
|
||||||
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
session.sendUpstreamPacket(animatePacket);
|
session.sendUpstreamPacket(animatePacket);
|
||||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren