summaryrefslogtreecommitdiffstats
path: root/src/ClientHandle.cpp
diff options
context:
space:
mode:
authorTiger Wang <ziwei.tiger@outlook.com>2021-03-20 21:58:19 +0100
committerGitHub <noreply@github.com>2021-03-20 21:58:19 +0100
commit90369deb5a870674ab02a26a93a71f06eafe9293 (patch)
treee37bb9272ea0265db7dce611120ed63381ca2626 /src/ClientHandle.cpp
parentDon't send ping updates one packet at a time (diff)
downloadcuberite-90369deb5a870674ab02a26a93a71f06eafe9293.tar
cuberite-90369deb5a870674ab02a26a93a71f06eafe9293.tar.gz
cuberite-90369deb5a870674ab02a26a93a71f06eafe9293.tar.bz2
cuberite-90369deb5a870674ab02a26a93a71f06eafe9293.tar.lz
cuberite-90369deb5a870674ab02a26a93a71f06eafe9293.tar.xz
cuberite-90369deb5a870674ab02a26a93a71f06eafe9293.tar.zst
cuberite-90369deb5a870674ab02a26a93a71f06eafe9293.zip
Diffstat (limited to '')
-rw-r--r--src/ClientHandle.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ClientHandle.cpp b/src/ClientHandle.cpp
index 5309ef672..26db7c2df 100644
--- a/src/ClientHandle.cpp
+++ b/src/ClientHandle.cpp
@@ -3003,9 +3003,9 @@ void cClientHandle::SendTitleTimes(int a_FadeInTicks, int a_DisplayTicks, int a_
-void cClientHandle::SendTimeUpdate(Int64 a_WorldAge, Int64 a_TimeOfDay, bool a_DoDaylightCycle)
+void cClientHandle::SendTimeUpdate(Int64 a_WorldAge, Int64 a_WorldDate, bool a_DoDaylightCycle)
{
- m_Protocol->SendTimeUpdate(a_WorldAge, a_TimeOfDay, a_DoDaylightCycle);
+ m_Protocol->SendTimeUpdate(a_WorldAge, a_WorldDate, a_DoDaylightCycle);
}