diff options
author | Howaner <franzi.moos@googlemail.com> | 2014-09-09 01:54:40 +0200 |
---|---|---|
committer | Howaner <franzi.moos@googlemail.com> | 2014-09-09 01:54:40 +0200 |
commit | d1d4f2146e12222071041db7088073dc4a90eb61 (patch) | |
tree | 15ca7c036de6ff43ed0a102db531d1a01a213dcc /src/Protocol/Protocol18x.cpp | |
parent | 1.8: Added new uuid field. (diff) | |
download | cuberite-d1d4f2146e12222071041db7088073dc4a90eb61.tar cuberite-d1d4f2146e12222071041db7088073dc4a90eb61.tar.gz cuberite-d1d4f2146e12222071041db7088073dc4a90eb61.tar.bz2 cuberite-d1d4f2146e12222071041db7088073dc4a90eb61.tar.lz cuberite-d1d4f2146e12222071041db7088073dc4a90eb61.tar.xz cuberite-d1d4f2146e12222071041db7088073dc4a90eb61.tar.zst cuberite-d1d4f2146e12222071041db7088073dc4a90eb61.zip |
Diffstat (limited to 'src/Protocol/Protocol18x.cpp')
-rw-r--r-- | src/Protocol/Protocol18x.cpp | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/src/Protocol/Protocol18x.cpp b/src/Protocol/Protocol18x.cpp index 60501a5b5..e336dcbec 100644 --- a/src/Protocol/Protocol18x.cpp +++ b/src/Protocol/Protocol18x.cpp @@ -947,11 +947,7 @@ void cProtocol180::SendPlayerSpawn(const cPlayer & a_Player) // Called to spawn another player for the client cPacketizer Pkt(*this, 0x0c); // Spawn Player packet Pkt.WriteVarInt(a_Player.GetUniqueID()); - - // Fake UUID - Pkt.WriteInt64(4053239666997989821); - Pkt.WriteInt64(-5603022497796657139); - + Pkt.WriteUUID(cMojangAPI::MakeUUIDShort(a_Player.GetUUID())); Pkt.WriteFPInt(a_Player.GetPosX()); Pkt.WriteFPInt(a_Player.GetPosY()); Pkt.WriteFPInt(a_Player.GetPosZ()); |