summaryrefslogtreecommitdiffstats
path: root/source/Chunk.cpp
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--source/Chunk.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/source/Chunk.cpp b/source/Chunk.cpp
index 96522d6bf..41cc0e7f6 100644
--- a/source/Chunk.cpp
+++ b/source/Chunk.cpp
@@ -103,6 +103,8 @@ cChunk::cChunk(
cChunk::~cChunk()
{
+ cPluginManager::Get()->CallHookChunkUnloaded(m_World, m_PosX, m_PosZ);
+
// LOGINFO("### delete cChunk() (%i, %i) from %p, thread 0x%x ###", m_PosX, m_PosZ, this, GetCurrentThreadId() );
for (cBlockEntityList::iterator itr = m_BlockEntities.begin(); itr != m_BlockEntities.end(); ++itr)