summaryrefslogtreecommitdiffstats
path: root/src/ChunkMap.cpp
diff options
context:
space:
mode:
authorworktycho <work.tycho@gmail.com>2014-07-13 17:07:35 +0200
committerworktycho <work.tycho@gmail.com>2014-07-13 17:07:35 +0200
commit4315deb90b62a40a07bf4f3427b52a613738c102 (patch)
tree7b4c7d8263adf3fa610ce205694575e3919f87f7 /src/ChunkMap.cpp
parentCopyPaste Error (diff)
downloadcuberite-4315deb90b62a40a07bf4f3427b52a613738c102.tar
cuberite-4315deb90b62a40a07bf4f3427b52a613738c102.tar.gz
cuberite-4315deb90b62a40a07bf4f3427b52a613738c102.tar.bz2
cuberite-4315deb90b62a40a07bf4f3427b52a613738c102.tar.lz
cuberite-4315deb90b62a40a07bf4f3427b52a613738c102.tar.xz
cuberite-4315deb90b62a40a07bf4f3427b52a613738c102.tar.zst
cuberite-4315deb90b62a40a07bf4f3427b52a613738c102.zip
Diffstat (limited to '')
-rw-r--r--src/ChunkMap.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ChunkMap.cpp b/src/ChunkMap.cpp
index f0222c0f5..164b7d37a 100644
--- a/src/ChunkMap.cpp
+++ b/src/ChunkMap.cpp
@@ -1530,7 +1530,7 @@ void cChunkMap::SendBlockTo(int a_X, int a_Y, int a_Z, cPlayer * a_Player)
cCSLock Lock(m_CSLayers);
cChunkPtr Chunk = GetChunk(ChunkX, ZERO_CHUNK_Y, ChunkZ);
- if (Chunk != NULL && Chunk->IsValid())
+ if ((Chunk != NULL) && (Chunk->IsValid()))
{
Chunk->SendBlockTo(a_X, a_Y, a_Z, a_Player->GetClientHandle());
}