summaryrefslogtreecommitdiffstats
path: root/src/ChunkSender.cpp
diff options
context:
space:
mode:
authortycho <work.tycho@gmail.com>2015-09-15 18:12:03 +0200
committertycho <work.tycho@gmail.com>2015-11-11 13:28:12 +0100
commit6c4740c79889531ca1109d0f2d81eef6f8326e31 (patch)
tree8e35d0d269f70c0e04791f2708f9e551d74e3363 /src/ChunkSender.cpp
parentMerge pull request #2632 from Gargaj/patch-1 (diff)
downloadcuberite-serverTick.tar
cuberite-serverTick.tar.gz
cuberite-serverTick.tar.bz2
cuberite-serverTick.tar.lz
cuberite-serverTick.tar.xz
cuberite-serverTick.tar.zst
cuberite-serverTick.zip
Diffstat (limited to '')
-rw-r--r--src/ChunkSender.cpp6
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))
{