diff options
author | Tiger Wang <ziwei.tiger@hotmail.co.uk> | 2013-12-22 01:33:22 +0100 |
---|---|---|
committer | Tiger Wang <ziwei.tiger@hotmail.co.uk> | 2013-12-22 01:33:22 +0100 |
commit | acb5a36a6aa3be861e84b7abc542b6223c55cddd (patch) | |
tree | 2cfd4bed4948bcd721601d6351d9cd4ed2ff305f /src/Simulator | |
parent | Fixed them again, confound it (diff) | |
download | cuberite-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.cpp | 3 |
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); } |