summaryrefslogtreecommitdiffstats
path: root/source/cEntity.cpp
diff options
context:
space:
mode:
authorfaketruth <faketruth@0a769ca7-a7f5-676a-18bf-c427514a06d6>2012-03-07 14:36:30 +0100
committerfaketruth <faketruth@0a769ca7-a7f5-676a-18bf-c427514a06d6>2012-03-07 14:36:30 +0100
commit787382caf8d3f7f8df4598b29586b44b7b071c53 (patch)
tree347e1249bbe371f820cf408d99549fb8734e0ac0 /source/cEntity.cpp
parentNo need to reset zlib (copypasta error) (diff)
downloadcuberite-787382caf8d3f7f8df4598b29586b44b7b071c53.tar
cuberite-787382caf8d3f7f8df4598b29586b44b7b071c53.tar.gz
cuberite-787382caf8d3f7f8df4598b29586b44b7b071c53.tar.bz2
cuberite-787382caf8d3f7f8df4598b29586b44b7b071c53.tar.lz
cuberite-787382caf8d3f7f8df4598b29586b44b7b071c53.tar.xz
cuberite-787382caf8d3f7f8df4598b29586b44b7b071c53.tar.zst
cuberite-787382caf8d3f7f8df4598b29586b44b7b071c53.zip
Diffstat (limited to '')
-rw-r--r--source/cEntity.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/source/cEntity.cpp b/source/cEntity.cpp
index d75c35002..f6627fd20 100644
--- a/source/cEntity.cpp
+++ b/source/cEntity.cpp
@@ -181,6 +181,8 @@ void cEntity::Destroy()
m_World->BroadcastToChunk(m_ChunkX, m_ChunkY, m_ChunkZ, cPacket_DestroyEntity(this));
m_bDestroyed = true;
+
+ Destroyed();
}