summaryrefslogtreecommitdiffstats
path: root/source/Protocol/Protocol125.cpp
diff options
context:
space:
mode:
authorDaniel O'Brien <marmot.daniel@gmail.com>2013-11-16 11:38:57 +0100
committerDaniel O'Brien <marmot.daniel@gmail.com>2013-11-16 11:38:57 +0100
commit359539293782713d47e51775b65ee91fc89994e4 (patch)
tree7e6fd07f9e20b6568b3e461dbd55bc7542b07358 /source/Protocol/Protocol125.cpp
parentfix possible threadlock issue, changed function names to be closer to standard (diff)
downloadcuberite-359539293782713d47e51775b65ee91fc89994e4.tar
cuberite-359539293782713d47e51775b65ee91fc89994e4.tar.gz
cuberite-359539293782713d47e51775b65ee91fc89994e4.tar.bz2
cuberite-359539293782713d47e51775b65ee91fc89994e4.tar.lz
cuberite-359539293782713d47e51775b65ee91fc89994e4.tar.xz
cuberite-359539293782713d47e51775b65ee91fc89994e4.tar.zst
cuberite-359539293782713d47e51775b65ee91fc89994e4.zip
Diffstat (limited to '')
-rw-r--r--source/Protocol/Protocol125.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/source/Protocol/Protocol125.cpp b/source/Protocol/Protocol125.cpp
index c2dc1c9ce..54be65b12 100644
--- a/source/Protocol/Protocol125.cpp
+++ b/source/Protocol/Protocol125.cpp
@@ -695,9 +695,9 @@ void cProtocol125::SendExperience(void)
{
cCSLock Lock(m_CSPacket);
WriteByte (PACKET_EXPERIENCE);
- WriteFloat (m_Client->GetPlayer()->XpGetPercentage());
- WriteShort (m_Client->GetPlayer()->XpGetLevel());
- WriteShort (m_Client->GetPlayer()->XpGetTotal());
+ WriteFloat (m_Client->GetPlayer()->GetXpPercentage());
+ WriteShort (m_Client->GetPlayer()->GetXpLevel());
+ WriteShort (m_Client->GetPlayer()->GetCurrentXp());
Flush();
}