diff options
author | Daniel O'Brien <marmot.daniel@gmail.com> | 2013-11-16 11:38:57 +0100 |
---|---|---|
committer | Daniel O'Brien <marmot.daniel@gmail.com> | 2013-11-16 11:38:57 +0100 |
commit | 359539293782713d47e51775b65ee91fc89994e4 (patch) | |
tree | 7e6fd07f9e20b6568b3e461dbd55bc7542b07358 /source/Protocol/Protocol17x.cpp | |
parent | fix possible threadlock issue, changed function names to be closer to standard (diff) | |
download | cuberite-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 'source/Protocol/Protocol17x.cpp')
-rw-r--r-- | source/Protocol/Protocol17x.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/source/Protocol/Protocol17x.cpp b/source/Protocol/Protocol17x.cpp index 7ff2b54b1..ae1df7395 100644 --- a/source/Protocol/Protocol17x.cpp +++ b/source/Protocol/Protocol17x.cpp @@ -600,9 +600,9 @@ void cProtocol172::SendRespawn(void) void cProtocol172::SendExperience (void) { cPacketizer Pkt(*this, 0x1F); //Experience Packet - Pkt.WriteFloat(m_Client->GetPlayer()->XpGetPercentage()); - Pkt.WriteShort(m_Client->GetPlayer()->XpGetLevel()); - Pkt.WriteShort(m_Client->GetPlayer()->XpGetTotal()); + Pkt.WriteFloat(m_Client->GetPlayer()->GetXpPercentage()); + Pkt.WriteShort(m_Client->GetPlayer()->GetXpLevel()); + Pkt.WriteShort(m_Client->GetPlayer()->GetCurrentXp()); } |