1
0
Fork 0

Examined a fix for #2588

This commit is contained in:
Tiger Wang 2015-11-02 22:07:48 +00:00
parent 51948058ad
commit 9de3a3f938
1 changed files with 6 additions and 0 deletions

View File

@ -2197,6 +2197,12 @@ void cClientHandle::SendChunkData(int a_ChunkX, int a_ChunkZ, cChunkDataSerializ
return;
}
if (m_Protocol == nullptr)
{
// TODO (#2588): investigate if and why this occurs
return;
}
m_Protocol->SendChunkData(a_ChunkX, a_ChunkZ, a_Serializer);
// Add the chunk to the list of chunks sent to the player: