summaryrefslogtreecommitdiffstats
path: root/source
diff options
context:
space:
mode:
authormadmaxoft@gmail.com <madmaxoft@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6>2013-05-28 20:45:51 +0200
committermadmaxoft@gmail.com <madmaxoft@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6>2013-05-28 20:45:51 +0200
commit5c1439e11c16208329c36115a07f30857074cca9 (patch)
tree45412f1e3bdb93ea96625601e9232422cc43621d /source
parentAdded a forgotten change to make dropspensers activate only once on redstone activation (diff)
downloadcuberite-5c1439e11c16208329c36115a07f30857074cca9.tar
cuberite-5c1439e11c16208329c36115a07f30857074cca9.tar.gz
cuberite-5c1439e11c16208329c36115a07f30857074cca9.tar.bz2
cuberite-5c1439e11c16208329c36115a07f30857074cca9.tar.lz
cuberite-5c1439e11c16208329c36115a07f30857074cca9.tar.xz
cuberite-5c1439e11c16208329c36115a07f30857074cca9.tar.zst
cuberite-5c1439e11c16208329c36115a07f30857074cca9.zip
Diffstat (limited to 'source')
-rw-r--r--source/Simulator/RedstoneSimulator.cpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/source/Simulator/RedstoneSimulator.cpp b/source/Simulator/RedstoneSimulator.cpp
index 3560ed0c8..7bf91cace 100644
--- a/source/Simulator/RedstoneSimulator.cpp
+++ b/source/Simulator/RedstoneSimulator.cpp
@@ -549,6 +549,13 @@ int cRedstoneSimulator::UnPowerBlock(const Vector3i & a_BlockPos, const Vector3i
break;
}
+ case E_BLOCK_DISPENSER:
+ case E_BLOCK_DROPPER:
+ {
+ m_RefreshDropSpensers.push_back(a_BlockPos);
+ break;
+ }
+
case E_BLOCK_REDSTONE_TORCH_ON:
{
return 2;