Added a forgotten change to make dropspensers activate only once on redstone activation
Fixes rev 1521 functionality git-svn-id: http://mc-server.googlecode.com/svn/trunk@1524 0a769ca7-a7f5-676a-18bf-c427514a06d6
This commit is contained in:
parent
9cd6333486
commit
f321cf52cc
@ -442,7 +442,7 @@ void cRedstoneSimulator::HandleChange(const Vector3i & a_BlockPos)
|
|||||||
|
|
||||||
virtual bool Item(cDropSpenserEntity * a_DropSpenser) override
|
virtual bool Item(cDropSpenserEntity * a_DropSpenser) override
|
||||||
{
|
{
|
||||||
a_DropSpenser->Activate();
|
a_DropSpenser->SetRedstonePower(m_IsPowered);
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
} DrSpSP(IsPowered(pos));
|
} DrSpSP(IsPowered(pos));
|
||||||
|
Loading…
Reference in New Issue
Block a user