Remove unused variables in ChestEntity/BlockEntityWithItems
This commit is contained in:
parent
82d251b71b
commit
2d28d681c7
@ -55,8 +55,6 @@ void cBlockEntityWithItems::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;
|
||||
|
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user