diff options
Diffstat (limited to 'src/BlockEntities/BlockEntityWithItems.cpp')
-rw-r--r-- | src/BlockEntities/BlockEntityWithItems.cpp | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/src/BlockEntities/BlockEntityWithItems.cpp b/src/BlockEntities/BlockEntityWithItems.cpp index 54b67717c..9821bd539 100644 --- a/src/BlockEntities/BlockEntityWithItems.cpp +++ b/src/BlockEntities/BlockEntityWithItems.cpp @@ -53,10 +53,7 @@ void cBlockEntityWithItems::OnSlotChanged(cItemGrid * a_Grid, int a_SlotNum) } m_World->MarkChunkDirty(GetChunkX(), GetChunkZ()); - m_World->DoWithChunkAt(m_Pos, [&](cChunk & a_Chunk) - { - // Notify comparators: - m_World->WakeUpSimulators(m_Pos); - return true; - }); + + // Notify comparators: + m_World->WakeUpSimulators(m_Pos); } |