summaryrefslogtreecommitdiffstats
path: root/src/Map.cpp
diff options
context:
space:
mode:
authorTiger Wang <ziwei.tiger@outlook.com>2020-08-28 22:22:44 +0200
committerTiger Wang <ziwei.tiger@outlook.com>2020-08-28 22:22:44 +0200
commit72ae5ecb5a5a8585935be6a954f480a406550b5c (patch)
treeef4acd137953ca2ddf56ffd834196403c841783e /src/Map.cpp
parentRemove unneeded MarkDirty, SendToClients parameters of SetMeta (diff)
downloadcuberite-72ae5ecb5a5a8585935be6a954f480a406550b5c.tar
cuberite-72ae5ecb5a5a8585935be6a954f480a406550b5c.tar.gz
cuberite-72ae5ecb5a5a8585935be6a954f480a406550b5c.tar.bz2
cuberite-72ae5ecb5a5a8585935be6a954f480a406550b5c.tar.lz
cuberite-72ae5ecb5a5a8585935be6a954f480a406550b5c.tar.xz
cuberite-72ae5ecb5a5a8585935be6a954f480a406550b5c.tar.zst
cuberite-72ae5ecb5a5a8585935be6a954f480a406550b5c.zip
Diffstat (limited to 'src/Map.cpp')
-rw-r--r--src/Map.cpp5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/Map.cpp b/src/Map.cpp
index a17e332da..30d761154 100644
--- a/src/Map.cpp
+++ b/src/Map.cpp
@@ -125,11 +125,6 @@ bool cMap::UpdatePixel(unsigned int a_X, unsigned int a_Z)
ColorID PixelData;
m_World->DoWithChunk(ChunkX, ChunkZ, [&](cChunk & a_Chunk)
{
- if (!a_Chunk.IsValid())
- {
- return false;
- }
-
if (GetDimension() == dimNether)
{
// TODO 2014-02-22 xdot: Nether maps