summaryrefslogtreecommitdiffstats
path: root/src/SetChunkData.cpp
diff options
context:
space:
mode:
authorMattes D <github@xoft.cz>2014-09-01 13:41:20 +0200
committerMattes D <github@xoft.cz>2014-09-01 13:41:20 +0200
commit74204aed6c4be6ef37194b7f317671a3f03f1247 (patch)
tree98c7825ebf9853cab02300f53d2fc5b25d3ba4cd /src/SetChunkData.cpp
parentMerge pull request #1363 from mc-server/FurnaceRecipes (diff)
parentFixed style. (diff)
downloadcuberite-74204aed6c4be6ef37194b7f317671a3f03f1247.tar
cuberite-74204aed6c4be6ef37194b7f317671a3f03f1247.tar.gz
cuberite-74204aed6c4be6ef37194b7f317671a3f03f1247.tar.bz2
cuberite-74204aed6c4be6ef37194b7f317671a3f03f1247.tar.lz
cuberite-74204aed6c4be6ef37194b7f317671a3f03f1247.tar.xz
cuberite-74204aed6c4be6ef37194b7f317671a3f03f1247.tar.zst
cuberite-74204aed6c4be6ef37194b7f317671a3f03f1247.zip
Diffstat (limited to 'src/SetChunkData.cpp')
-rw-r--r--src/SetChunkData.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/SetChunkData.cpp b/src/SetChunkData.cpp
index 97903074a..bfe59fbcb 100644
--- a/src/SetChunkData.cpp
+++ b/src/SetChunkData.cpp
@@ -134,8 +134,8 @@ void cSetChunkData::RemoveInvalidBlockEntities(void)
);
cBlockEntityList::iterator itr2 = itr;
itr2++;
- m_BlockEntities.erase(itr);
delete *itr;
+ m_BlockEntities.erase(itr);
itr = itr2;
}
else