PlayerSpawn packet: Send the correct uuid.
This commit is contained in:
parent
4b1f4e8d7e
commit
d1d4f2146e
@ -947,11 +947,7 @@ void cProtocol180::SendPlayerSpawn(const cPlayer & a_Player)
|
|||||||
// Called to spawn another player for the client
|
// Called to spawn another player for the client
|
||||||
cPacketizer Pkt(*this, 0x0c); // Spawn Player packet
|
cPacketizer Pkt(*this, 0x0c); // Spawn Player packet
|
||||||
Pkt.WriteVarInt(a_Player.GetUniqueID());
|
Pkt.WriteVarInt(a_Player.GetUniqueID());
|
||||||
|
Pkt.WriteUUID(cMojangAPI::MakeUUIDShort(a_Player.GetUUID()));
|
||||||
// Fake UUID
|
|
||||||
Pkt.WriteInt64(4053239666997989821);
|
|
||||||
Pkt.WriteInt64(-5603022497796657139);
|
|
||||||
|
|
||||||
Pkt.WriteFPInt(a_Player.GetPosX());
|
Pkt.WriteFPInt(a_Player.GetPosX());
|
||||||
Pkt.WriteFPInt(a_Player.GetPosY());
|
Pkt.WriteFPInt(a_Player.GetPosY());
|
||||||
Pkt.WriteFPInt(a_Player.GetPosZ());
|
Pkt.WriteFPInt(a_Player.GetPosZ());
|
||||||
|
Loading…
Reference in New Issue
Block a user