3
0
Mirror von https://github.com/GeyserMC/Geyser.git synchronisiert 2024-08-01 01:58:07 +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:
bundabrg 2021-02-17 13:23:55 +08:00 committet von GitHub
Ursprung 62cbdb8f5c
Commit fc712ea892
Es konnte kein GPG-Schlüssel zu dieser Signatur gefunden werden
GPG-Schlüssel-ID: 4AEE18F83AFDEB23

Datei anzeigen

@ -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);