Examined a fix for #2588
This commit is contained in:
parent
51948058ad
commit
9de3a3f938
@ -2197,6 +2197,12 @@ void cClientHandle::SendChunkData(int a_ChunkX, int a_ChunkZ, cChunkDataSerializ
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (m_Protocol == nullptr)
|
||||||
|
{
|
||||||
|
// TODO (#2588): investigate if and why this occurs
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
m_Protocol->SendChunkData(a_ChunkX, a_ChunkZ, a_Serializer);
|
m_Protocol->SendChunkData(a_ChunkX, a_ChunkZ, a_Serializer);
|
||||||
|
|
||||||
// Add the chunk to the list of chunks sent to the player:
|
// Add the chunk to the list of chunks sent to the player:
|
||||||
|
Loading…
Reference in New Issue
Block a user