summaryrefslogtreecommitdiffstats
path: root/src/Chunk.cpp
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/Chunk.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/Chunk.cpp b/src/Chunk.cpp
index eeeff3e8b..3f6a653a4 100644
--- a/src/Chunk.cpp
+++ b/src/Chunk.cpp
@@ -419,6 +419,7 @@ void cChunk::WriteBlockArea(cBlockArea & a_Area, int a_MinBlockX, int a_MinBlock
{
if (affectedArea.IsInside(itr->second->GetPos()))
{
+ itr->second->Destroy();
itr = m_BlockEntities.erase(itr);
}
else