summaryrefslogtreecommitdiffstats
path: root/src/Entities/Player.cpp
diff options
context:
space:
mode:
authorHowaner <franzi.moos@googlemail.com>2014-09-18 18:50:17 +0200
committerHowaner <franzi.moos@googlemail.com>2014-09-18 18:50:17 +0200
commit43ed690520d3c3b47ed7ff6f48f868e8011565e0 (patch)
tree7db2b1b7dde37f498e6ed09e90a68ae3faff0718 /src/Entities/Player.cpp
parent1.8: Simplified item metadata reading. (diff)
downloadcuberite-43ed690520d3c3b47ed7ff6f48f868e8011565e0.tar
cuberite-43ed690520d3c3b47ed7ff6f48f868e8011565e0.tar.gz
cuberite-43ed690520d3c3b47ed7ff6f48f868e8011565e0.tar.bz2
cuberite-43ed690520d3c3b47ed7ff6f48f868e8011565e0.tar.lz
cuberite-43ed690520d3c3b47ed7ff6f48f868e8011565e0.tar.xz
cuberite-43ed690520d3c3b47ed7ff6f48f868e8011565e0.tar.zst
cuberite-43ed690520d3c3b47ed7ff6f48f868e8011565e0.zip
Diffstat (limited to '')
-rw-r--r--src/Entities/Player.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Entities/Player.cpp b/src/Entities/Player.cpp
index 826e0786f..36d8307b0 100644
--- a/src/Entities/Player.cpp
+++ b/src/Entities/Player.cpp
@@ -266,7 +266,7 @@ void cPlayer::Tick(float a_Dt, cChunk & a_Chunk)
cTimer t1;
if (m_LastPlayerListTime + PLAYER_LIST_TIME_MS <= t1.GetNowTime())
{
- m_World->BroadcastPlayerListItem(*this, 2);
+ // m_World->BroadcastPlayerListUpdatePing(*this);
m_LastPlayerListTime = t1.GetNowTime();
}
@@ -1164,7 +1164,7 @@ void cPlayer::SetGameMode(eGameMode a_GameMode)
SetCanFly(false);
}
- m_World->BroadcastPlayerListItem(*this, 1);
+ m_World->BroadcastPlayerListUpdateGameMode(*this);
}