summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorfaketruth <faketruth@0a769ca7-a7f5-676a-18bf-c427514a06d6>2012-03-02 15:09:52 +0100
committerfaketruth <faketruth@0a769ca7-a7f5-676a-18bf-c427514a06d6>2012-03-02 15:09:52 +0100
commitf7b29dc727f21b1e58d26ad00e708100eafccf1c (patch)
tree4f1a0edb02401ffdf597e042b7c9b1cf2b160775
parentChunk light and metadata are also sent now, should take a load off of the client (diff)
downloadcuberite-f7b29dc727f21b1e58d26ad00e708100eafccf1c.tar
cuberite-f7b29dc727f21b1e58d26ad00e708100eafccf1c.tar.gz
cuberite-f7b29dc727f21b1e58d26ad00e708100eafccf1c.tar.bz2
cuberite-f7b29dc727f21b1e58d26ad00e708100eafccf1c.tar.lz
cuberite-f7b29dc727f21b1e58d26ad00e708100eafccf1c.tar.xz
cuberite-f7b29dc727f21b1e58d26ad00e708100eafccf1c.tar.zst
cuberite-f7b29dc727f21b1e58d26ad00e708100eafccf1c.zip
-rw-r--r--source/cClientHandle.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/cClientHandle.cpp b/source/cClientHandle.cpp
index 11dbffa4c..1c318d463 100644
--- a/source/cClientHandle.cpp
+++ b/source/cClientHandle.cpp
@@ -1803,7 +1803,7 @@ void cClientHandle::CheckIfWorldDownloaded(void)
return;
}
cCSLock Lock(m_CSChunkLists);
- if (m_ChunksToSend.size() < 4*4)
+ if (m_ChunksToSend.empty())
{
SendConfirmPosition();
}