diff options
author | tycho <work.tycho@gmail.com> | 2015-09-15 18:12:03 +0200 |
---|---|---|
committer | tycho <work.tycho@gmail.com> | 2015-11-11 13:28:12 +0100 |
commit | 6c4740c79889531ca1109d0f2d81eef6f8326e31 (patch) | |
tree | 8e35d0d269f70c0e04791f2708f9e551d74e3363 /src/ChunkSender.cpp | |
parent | Merge pull request #2632 from Gargaj/patch-1 (diff) | |
download | cuberite-6c4740c79889531ca1109d0f2d81eef6f8326e31.tar cuberite-6c4740c79889531ca1109d0f2d81eef6f8326e31.tar.gz cuberite-6c4740c79889531ca1109d0f2d81eef6f8326e31.tar.bz2 cuberite-6c4740c79889531ca1109d0f2d81eef6f8326e31.tar.lz cuberite-6c4740c79889531ca1109d0f2d81eef6f8326e31.tar.xz cuberite-6c4740c79889531ca1109d0f2d81eef6f8326e31.tar.zst cuberite-6c4740c79889531ca1109d0f2d81eef6f8326e31.zip |
Diffstat (limited to '')
-rw-r--r-- | src/ChunkSender.cpp | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/src/ChunkSender.cpp b/src/ChunkSender.cpp index 1d55cf743..169861e87 100644 --- a/src/ChunkSender.cpp +++ b/src/ChunkSender.cpp @@ -233,12 +233,6 @@ void cChunkSender::SendChunk(int a_ChunkX, int a_ChunkZ, std::unordered_set<cCli } } - // If the chunk has no clients, no need to packetize it: - if (!m_World.HasChunkAnyClients(a_ChunkX, a_ChunkZ)) - { - return; - } - // If the chunk is not valid, do nothing - whoever needs it has queued it for loading / generating if (!m_World.IsChunkValid(a_ChunkX, a_ChunkZ)) { |