summaryrefslogtreecommitdiffstats
path: root/src/Simulator
diff options
context:
space:
mode:
authorDrButcher <JoBad@online.de>2020-04-17 22:01:21 +0200
committerGitHub <noreply@github.com>2020-04-17 22:01:21 +0200
commit3591be50b20417995e5c54da64e61cf107c1082c (patch)
tree4de5f2cc8e94b2c0a17cf4736905af52596e754e /src/Simulator
parentMore Vector3 in cBlockHandler (#4644) (diff)
downloadcuberite-3591be50b20417995e5c54da64e61cf107c1082c.tar
cuberite-3591be50b20417995e5c54da64e61cf107c1082c.tar.gz
cuberite-3591be50b20417995e5c54da64e61cf107c1082c.tar.bz2
cuberite-3591be50b20417995e5c54da64e61cf107c1082c.tar.lz
cuberite-3591be50b20417995e5c54da64e61cf107c1082c.tar.xz
cuberite-3591be50b20417995e5c54da64e61cf107c1082c.tar.zst
cuberite-3591be50b20417995e5c54da64e61cf107c1082c.zip
Diffstat (limited to 'src/Simulator')
-rw-r--r--src/Simulator/IncrementalRedstoneSimulator/RedstoneSimulatorChunkData.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/Simulator/IncrementalRedstoneSimulator/RedstoneSimulatorChunkData.h b/src/Simulator/IncrementalRedstoneSimulator/RedstoneSimulatorChunkData.h
index f0fd8d512..7bf4ccaad 100644
--- a/src/Simulator/IncrementalRedstoneSimulator/RedstoneSimulatorChunkData.h
+++ b/src/Simulator/IncrementalRedstoneSimulator/RedstoneSimulatorChunkData.h
@@ -44,6 +44,7 @@ public:
void ErasePowerData(const Vector3i & a_Position)
{
m_CachedPowerLevels.erase(a_Position);
+ m_MechanismDelays.erase(a_Position);
}
cRedstoneHandler::PoweringData ExchangeUpdateOncePowerData(const Vector3i & a_Position, cRedstoneHandler::PoweringData a_PoweringData)