summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTiger Wang <ziwei.tiger@outlook.com>2020-12-23 23:40:21 +0100
committerTiger Wang <ziwei.tiger@outlook.com>2020-12-26 17:58:53 +0100
commit14ada52f3a4f7b8033104e61c0adb19d00042710 (patch)
treebd45abad267c4b1d11b4598ec2af004111507165
parentViewDistance: unsigned -> signed (diff)
downloadcuberite-14ada52f3a4f7b8033104e61c0adb19d00042710.tar
cuberite-14ada52f3a4f7b8033104e61c0adb19d00042710.tar.gz
cuberite-14ada52f3a4f7b8033104e61c0adb19d00042710.tar.bz2
cuberite-14ada52f3a4f7b8033104e61c0adb19d00042710.tar.lz
cuberite-14ada52f3a4f7b8033104e61c0adb19d00042710.tar.xz
cuberite-14ada52f3a4f7b8033104e61c0adb19d00042710.tar.zst
cuberite-14ada52f3a4f7b8033104e61c0adb19d00042710.zip
Diffstat (limited to '')
-rw-r--r--src/Simulator/IncrementalRedstoneSimulator/DaylightSensorHandler.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/Simulator/IncrementalRedstoneSimulator/DaylightSensorHandler.h b/src/Simulator/IncrementalRedstoneSimulator/DaylightSensorHandler.h
index 160486d29..53ad4c4fb 100644
--- a/src/Simulator/IncrementalRedstoneSimulator/DaylightSensorHandler.h
+++ b/src/Simulator/IncrementalRedstoneSimulator/DaylightSensorHandler.h
@@ -41,9 +41,6 @@ namespace DaylightSensorHandler
{
// LOGD("Evaluating Darryl the daylight sensor (%d %d %d)", a_Position.x, a_Position.y, a_Position.z);
- // We don't need to update the daylight sensor often:
- DataForChunk(a_Chunk).m_MechanismDelays[a_Position] = std::make_pair(10, bool());
-
// What the sensor should output according to the time-power function.
const auto PowerLevel = GetPowerLevel(a_Chunk, a_Position);