summaryrefslogtreecommitdiffstats
path: root/src/BlockEntities/ChestEntity.cpp
diff options
context:
space:
mode:
authorTiger Wang <ziwei.tiger@outlook.com>2020-08-20 22:44:19 +0200
committerTiger Wang <ziwei.tiger@outlook.com>2020-08-21 01:53:10 +0200
commit2d28d681c70c011566c185c3650ae360ee5cb19b (patch)
tree92ab25c38df69d2c2d8ac389d5360eb439679515 /src/BlockEntities/ChestEntity.cpp
parentMade cProtocol::Version, EntityMetadata enums less verbose (diff)
downloadcuberite-2d28d681c70c011566c185c3650ae360ee5cb19b.tar
cuberite-2d28d681c70c011566c185c3650ae360ee5cb19b.tar.gz
cuberite-2d28d681c70c011566c185c3650ae360ee5cb19b.tar.bz2
cuberite-2d28d681c70c011566c185c3650ae360ee5cb19b.tar.lz
cuberite-2d28d681c70c011566c185c3650ae360ee5cb19b.tar.xz
cuberite-2d28d681c70c011566c185c3650ae360ee5cb19b.tar.zst
cuberite-2d28d681c70c011566c185c3650ae360ee5cb19b.zip
Diffstat (limited to 'src/BlockEntities/ChestEntity.cpp')
-rw-r--r--src/BlockEntities/ChestEntity.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/BlockEntities/ChestEntity.cpp b/src/BlockEntities/ChestEntity.cpp
index b5d281fec..5f99da454 100644
--- a/src/BlockEntities/ChestEntity.cpp
+++ b/src/BlockEntities/ChestEntity.cpp
@@ -245,8 +245,6 @@ void cChestEntity::OnSlotChanged(cItemGrid * a_Grid, int a_SlotNum)
m_World->MarkChunkDirty(GetChunkX(), GetChunkZ());
m_World->DoWithChunkAt(m_Pos, [&](cChunk & a_Chunk)
{
- auto & Simulator = *m_World->GetRedstoneSimulator();
-
// Notify comparators:
m_World->WakeUpSimulators(m_Pos);
return true;