1
0

PlayerSpawn packet: Send the correct uuid.

This commit is contained in:
Howaner 2014-09-09 01:54:40 +02:00
parent 4b1f4e8d7e
commit d1d4f2146e

View File

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