Mirror von
https://github.com/GeyserMC/Geyser.git
synchronisiert 2024-12-27 08:30:12 +01:00
Update to latest NukkitX Protocol changes
Dieser Commit ist enthalten in:
Ursprung
ca9fc4e64c
Commit
c67630dfb1
@ -63,7 +63,7 @@ public class JavaPlayerHealthTranslator extends PacketTranslator<ServerPlayerHea
|
|||||||
RespawnPacket respawnPacket = new RespawnPacket();
|
RespawnPacket respawnPacket = new RespawnPacket();
|
||||||
respawnPacket.setRuntimeEntityId(entity.getGeyserId());
|
respawnPacket.setRuntimeEntityId(entity.getGeyserId());
|
||||||
respawnPacket.setPosition(Vector3f.from(0, 72, 0));
|
respawnPacket.setPosition(Vector3f.from(0, 72, 0));
|
||||||
respawnPacket.setSpawnState(0); // state searching for spawn
|
respawnPacket.setSpawnState(RespawnPacket.State.SERVER_SEARCHING);
|
||||||
session.getUpstream().sendPacket(respawnPacket);
|
session.getUpstream().sendPacket(respawnPacket);
|
||||||
|
|
||||||
ClientRequestPacket javaRespawnPacket = new ClientRequestPacket(ClientRequest.RESPAWN);
|
ClientRequestPacket javaRespawnPacket = new ClientRequestPacket(ClientRequest.RESPAWN);
|
||||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren