diff options
author | faketruth <faketruth@0a769ca7-a7f5-676a-18bf-c427514a06d6> | 2012-03-01 19:56:56 +0100 |
---|---|---|
committer | faketruth <faketruth@0a769ca7-a7f5-676a-18bf-c427514a06d6> | 2012-03-01 19:56:56 +0100 |
commit | a2f6ab93b6140740ca2562d5f82022a64c79feb6 (patch) | |
tree | 67b6272f417ea12dfa1b9bcf74d1fad15dc74802 /source/cPlayer.cpp | |
parent | Clients can join the server, but chunks are sent completely empty (diff) | |
download | cuberite-a2f6ab93b6140740ca2562d5f82022a64c79feb6.tar cuberite-a2f6ab93b6140740ca2562d5f82022a64c79feb6.tar.gz cuberite-a2f6ab93b6140740ca2562d5f82022a64c79feb6.tar.bz2 cuberite-a2f6ab93b6140740ca2562d5f82022a64c79feb6.tar.lz cuberite-a2f6ab93b6140740ca2562d5f82022a64c79feb6.tar.xz cuberite-a2f6ab93b6140740ca2562d5f82022a64c79feb6.tar.zst cuberite-a2f6ab93b6140740ca2562d5f82022a64c79feb6.zip |
Diffstat (limited to 'source/cPlayer.cpp')
-rw-r--r-- | source/cPlayer.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/source/cPlayer.cpp b/source/cPlayer.cpp index c71f04d33..f013465de 100644 --- a/source/cPlayer.cpp +++ b/source/cPlayer.cpp @@ -364,10 +364,12 @@ void cPlayer::Respawn() //Packet.m_CreativeMode = (char)GetWorld()->GetGameMode();
Packet.m_CreativeMode = (char)m_GameMode; //Set GameMode packet based on Player's GameMode;
+#if (MINECRAFT_1_2_2 != 1 )
//TODO Less hardcoded
Packet.m_World = 0;
Packet.m_MapSeed = GetWorld()->GetWorldSeed();
+#endif
//Send Packet
m_ClientHandle->Send( Packet );
|