summaryrefslogtreecommitdiffstats
path: root/src/BlockEntities/ChestEntity.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/BlockEntities/ChestEntity.cpp')
-rw-r--r--src/BlockEntities/ChestEntity.cpp5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/BlockEntities/ChestEntity.cpp b/src/BlockEntities/ChestEntity.cpp
index cb26f4d08..b5d281fec 100644
--- a/src/BlockEntities/ChestEntity.cpp
+++ b/src/BlockEntities/ChestEntity.cpp
@@ -248,10 +248,7 @@ void cChestEntity::OnSlotChanged(cItemGrid * a_Grid, int a_SlotNum)
auto & Simulator = *m_World->GetRedstoneSimulator();
// Notify comparators:
- m_World->WakeUpSimulators(m_Pos + Vector3i(1, 0, 0));
- m_World->WakeUpSimulators(m_Pos + Vector3i(-1, 0, 0));
- m_World->WakeUpSimulators(m_Pos + Vector3i(0, 0, 1));
- m_World->WakeUpSimulators(m_Pos + Vector3i(0, 0, -1));
+ m_World->WakeUpSimulators(m_Pos);
return true;
});
}