diff options
Diffstat (limited to 'src/BlockEntities/BlockEntity.cpp')
-rw-r--r-- | src/BlockEntities/BlockEntity.cpp | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/BlockEntities/BlockEntity.cpp b/src/BlockEntities/BlockEntity.cpp index 4b17f10a6..7c0660431 100644 --- a/src/BlockEntities/BlockEntity.cpp +++ b/src/BlockEntities/BlockEntity.cpp @@ -168,6 +168,15 @@ bool cBlockEntity::IsBlockEntityBlockType(const BLOCKTYPE a_BlockType) +void cBlockEntity::OnAddToWorld(cWorld & a_World, cChunk & a_Chunk) +{ + m_World = &a_World; +} + + + + + void cBlockEntity::OnRemoveFromWorld() { } |