1
0

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-c427514a06d6
This commit is contained in:
madmaxoft@gmail.com 2012-05-07 18:52:40 +00:00
parent 9cb8872851
commit b73fba7c08
2 changed files with 6 additions and 1 deletions

View File

@ -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) )
{

View File

@ -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"