Mirror von
https://github.com/GeyserMC/Geyser.git
synchronisiert 2024-09-08 20:43:04 +02: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:
|
||||
animatePacket.setAction(AnimatePacket.Action.WAKE_UP);
|
||||
break;
|
||||
default:
|
||||
// Unknown Animation
|
||||
return;
|
||||
}
|
||||
|
||||
session.sendUpstreamPacket(animatePacket);
|
||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren