summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormadmaxoft@gmail.com <madmaxoft@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6>2013-05-19 17:44:21 +0200
committermadmaxoft@gmail.com <madmaxoft@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6>2013-05-19 17:44:21 +0200
commite32cffbbdd46f599da8169b4b9c7f58a0c7c2208 (patch)
tree7f27b34238947e97b9f0f8008c7a6b37b74d9239
parentEmpty permission is always granted (diff)
downloadcuberite-e32cffbbdd46f599da8169b4b9c7f58a0c7c2208.tar
cuberite-e32cffbbdd46f599da8169b4b9c7f58a0c7c2208.tar.gz
cuberite-e32cffbbdd46f599da8169b4b9c7f58a0c7c2208.tar.bz2
cuberite-e32cffbbdd46f599da8169b4b9c7f58a0c7c2208.tar.lz
cuberite-e32cffbbdd46f599da8169b4b9c7f58a0c7c2208.tar.xz
cuberite-e32cffbbdd46f599da8169b4b9c7f58a0c7c2208.tar.zst
cuberite-e32cffbbdd46f599da8169b4b9c7f58a0c7c2208.zip
Diffstat (limited to '')
-rw-r--r--source/ChunkMap.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/ChunkMap.cpp b/source/ChunkMap.cpp
index 3e9fd4a81..6db737451 100644
--- a/source/ChunkMap.cpp
+++ b/source/ChunkMap.cpp
@@ -1423,7 +1423,7 @@ bool cChunkMap::ForEachEntity(cEntityCallback & a_Callback)
cCSLock Lock(m_CSLayers);
for (cChunkLayerList::const_iterator itr = m_Layers.begin(); itr != m_Layers.end(); ++itr)
{
- if ((*itr)->ForEachEntity(a_Callback))
+ if (!(*itr)->ForEachEntity(a_Callback))
{
return false;
}