summaryrefslogtreecommitdiffstats
path: root/src/Protocol/Protocol125.cpp
diff options
context:
space:
mode:
authormadmaxoft <github@xoft.cz>2014-08-14 01:04:01 +0200
committermadmaxoft <github@xoft.cz>2014-08-14 01:04:01 +0200
commit45068f9bf45fe952429bd200d9d9d747eeba61e8 (patch)
tree94adc35088c801f5f1842aa95578b06831da6b53 /src/Protocol/Protocol125.cpp
parentRankMgr: Fixed multithreading issues. (diff)
parentCheckBasicStyle checks the src folder as well. (diff)
downloadcuberite-45068f9bf45fe952429bd200d9d9d747eeba61e8.tar
cuberite-45068f9bf45fe952429bd200d9d9d747eeba61e8.tar.gz
cuberite-45068f9bf45fe952429bd200d9d9d747eeba61e8.tar.bz2
cuberite-45068f9bf45fe952429bd200d9d9d747eeba61e8.tar.lz
cuberite-45068f9bf45fe952429bd200d9d9d747eeba61e8.tar.xz
cuberite-45068f9bf45fe952429bd200d9d9d747eeba61e8.tar.zst
cuberite-45068f9bf45fe952429bd200d9d9d747eeba61e8.zip
Diffstat (limited to '')
-rw-r--r--src/Protocol/Protocol125.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/Protocol/Protocol125.cpp b/src/Protocol/Protocol125.cpp
index 538d31642..a66c64309 100644
--- a/src/Protocol/Protocol125.cpp
+++ b/src/Protocol/Protocol125.cpp
@@ -1072,8 +1072,11 @@ void cProtocol125::SendThunderbolt(int a_BlockX, int a_BlockY, int a_BlockZ)
-void cProtocol125::SendTimeUpdate(Int64 a_WorldAge, Int64 a_TimeOfDay)
+void cProtocol125::SendTimeUpdate(Int64 a_WorldAge, Int64 a_TimeOfDay, bool a_DoDaylightCycle)
{
+ // This protocol doesn't support a_DoDaylightCycle on false.
+ UNUSED(a_DoDaylightCycle);
+
cCSLock Lock(m_CSPacket);
WriteByte (PACKET_UPDATE_TIME);
// Use a_WorldAge for daycount, and a_TimeOfDay for the proper time of day: