summaryrefslogtreecommitdiffstats
path: root/src/Simulator
diff options
context:
space:
mode:
authorTiger Wang <ziwei.tiger@hotmail.co.uk>2013-12-22 01:33:22 +0100
committerTiger Wang <ziwei.tiger@hotmail.co.uk>2013-12-22 01:33:22 +0100
commitacb5a36a6aa3be861e84b7abc542b6223c55cddd (patch)
tree2cfd4bed4948bcd721601d6351d9cd4ed2ff305f /src/Simulator
parentFixed them again, confound it (diff)
downloadcuberite-acb5a36a6aa3be861e84b7abc542b6223c55cddd.tar
cuberite-acb5a36a6aa3be861e84b7abc542b6223c55cddd.tar.gz
cuberite-acb5a36a6aa3be861e84b7abc542b6223c55cddd.tar.bz2
cuberite-acb5a36a6aa3be861e84b7abc542b6223c55cddd.tar.lz
cuberite-acb5a36a6aa3be861e84b7abc542b6223c55cddd.tar.xz
cuberite-acb5a36a6aa3be861e84b7abc542b6223c55cddd.tar.zst
cuberite-acb5a36a6aa3be861e84b7abc542b6223c55cddd.zip
Diffstat (limited to 'src/Simulator')
-rw-r--r--src/Simulator/RedstoneSimulator.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/Simulator/RedstoneSimulator.cpp b/src/Simulator/RedstoneSimulator.cpp
index 549c709f6..10b750aeb 100644
--- a/src/Simulator/RedstoneSimulator.cpp
+++ b/src/Simulator/RedstoneSimulator.cpp
@@ -907,8 +907,7 @@ void cRedstoneSimulator::HandleDaylightSensor(int a_BlockX, int a_BlockY, int a_
}
}
- LOG("%i", m_World.GetSkyDarkness());
- if (m_World.GetSkyDarkness() > 10)
+ if (m_World.GetSkyDarkness() < 8)
{
SetAllDirsAsPowered(a_BlockX, a_BlockY, a_BlockZ, E_BLOCK_DAYLIGHT_SENSOR);
}