summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorLane Kolbly <lane@rscheme.org>2017-07-22 04:10:39 +0200
committerLane Kolbly <lane@rscheme.org>2017-07-22 04:10:39 +0200
commit6a261e451d958dc1890f2f8efbe776ded9ec3f9b (patch)
tree78b0b52ffc87f07b30f2a6d167013c005a5dce1a /src
parentIncrement fire block iterator (diff)
downloadcuberite-6a261e451d958dc1890f2f8efbe776ded9ec3f9b.tar
cuberite-6a261e451d958dc1890f2f8efbe776ded9ec3f9b.tar.gz
cuberite-6a261e451d958dc1890f2f8efbe776ded9ec3f9b.tar.bz2
cuberite-6a261e451d958dc1890f2f8efbe776ded9ec3f9b.tar.lz
cuberite-6a261e451d958dc1890f2f8efbe776ded9ec3f9b.tar.xz
cuberite-6a261e451d958dc1890f2f8efbe776ded9ec3f9b.tar.zst
cuberite-6a261e451d958dc1890f2f8efbe776ded9ec3f9b.zip
Diffstat (limited to '')
-rw-r--r--src/BlockArea.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/BlockArea.cpp b/src/BlockArea.cpp
index a17e5e8ef..eb3e82108 100644
--- a/src/BlockArea.cpp
+++ b/src/BlockArea.cpp
@@ -2704,7 +2704,7 @@ void cBlockArea::MergeBlockEntities(int a_RelX, int a_RelY, int a_RelZ, const cB
{
auto srcIdx = a_Src.MakeIndex(srcX, srcY, srcZ);
auto itrSrc = a_Src.m_BlockEntities->find(srcIdx);
- if (itrSrc == a_Src.m_BlockEntities->end())
+ if (itrSrc != a_Src.m_BlockEntities->end())
{
m_BlockEntities->insert({idx, itrSrc->second->Clone(x, y, z)});
continue;