diff options
Diffstat (limited to '')
-rw-r--r-- | src/BlockEntities/ChestEntity.cpp | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/src/BlockEntities/ChestEntity.cpp b/src/BlockEntities/ChestEntity.cpp index 5f99da454..0f005fb53 100644 --- a/src/BlockEntities/ChestEntity.cpp +++ b/src/BlockEntities/ChestEntity.cpp @@ -243,10 +243,7 @@ void cChestEntity::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); } |