Updated version text to include 1.2.5; ChunkSender doesn't serialize chunk packets for chunks without a client
git-svn-id: http://mc-server.googlecode.com/svn/trunk@480 0a769ca7-a7f5-676a-18bf-c427514a06d6master
parent
9cb8872851
commit
b73fba7c08
|
@ -182,6 +182,11 @@ void cChunkSender::SendChunk(int a_ChunkX, int a_ChunkY, int a_ChunkZ, cClientHa
|
|||
}
|
||||
}
|
||||
|
||||
if (!m_World->HasChunkAnyClients(a_ChunkX, a_ChunkY, a_ChunkZ))
|
||||
{
|
||||
return;
|
||||
}
|
||||
|
||||
// Prepare MapChunk packets:
|
||||
if( !m_World->GetChunkData(a_ChunkX, a_ChunkY, a_ChunkZ, *this) )
|
||||
{
|
||||
|
|
|
@ -45,7 +45,7 @@
|
|||
|
||||
|
||||
#define MCS_PROTOCOL_VERSION 29 // Synchronize this with MCS_CLIENT_VERSION below!
|
||||
#define MCS_CLIENT_VERSION "1.2.4"
|
||||
#define MCS_CLIENT_VERSION "1.2.4, 1.2.5"
|
||||
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue