From f321cf52ccb75a8b120388cfb93a975ed8447348 Mon Sep 17 00:00:00 2001 From: "madmaxoft@gmail.com" Date: Tue, 28 May 2013 18:18:38 +0000 Subject: 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 --- source/Simulator/RedstoneSimulator.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source/Simulator/RedstoneSimulator.cpp') diff --git a/source/Simulator/RedstoneSimulator.cpp b/source/Simulator/RedstoneSimulator.cpp index 5db40192f..3560ed0c8 100644 --- a/source/Simulator/RedstoneSimulator.cpp +++ b/source/Simulator/RedstoneSimulator.cpp @@ -442,7 +442,7 @@ void cRedstoneSimulator::HandleChange(const Vector3i & a_BlockPos) virtual bool Item(cDropSpenserEntity * a_DropSpenser) override { - a_DropSpenser->Activate(); + a_DropSpenser->SetRedstonePower(m_IsPowered); return false; } } DrSpSP(IsPowered(pos)); -- cgit v1.2.3