summaryrefslogtreecommitdiffstats
path: root/src/Protocol/Protocol17x.cpp
diff options
context:
space:
mode:
authorandrew <xdotftw@gmail.com>2014-01-21 18:43:13 +0100
committerandrew <xdotftw@gmail.com>2014-01-21 18:43:13 +0100
commitfa4750f015f1fed0937ba9fe80fc183c27d9e929 (patch)
treeeddd2dbe01ff851750359164074d8aaa8306929e /src/Protocol/Protocol17x.cpp
parentScoreboard protocol support (diff)
downloadcuberite-fa4750f015f1fed0937ba9fe80fc183c27d9e929.tar
cuberite-fa4750f015f1fed0937ba9fe80fc183c27d9e929.tar.gz
cuberite-fa4750f015f1fed0937ba9fe80fc183c27d9e929.tar.bz2
cuberite-fa4750f015f1fed0937ba9fe80fc183c27d9e929.tar.lz
cuberite-fa4750f015f1fed0937ba9fe80fc183c27d9e929.tar.xz
cuberite-fa4750f015f1fed0937ba9fe80fc183c27d9e929.tar.zst
cuberite-fa4750f015f1fed0937ba9fe80fc183c27d9e929.zip
Diffstat (limited to 'src/Protocol/Protocol17x.cpp')
-rw-r--r--src/Protocol/Protocol17x.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/Protocol/Protocol17x.cpp b/src/Protocol/Protocol17x.cpp
index d5ed1a0aa..926be6027 100644
--- a/src/Protocol/Protocol17x.cpp
+++ b/src/Protocol/Protocol17x.cpp
@@ -707,7 +707,7 @@ void cProtocol172::SendExperienceOrb(const cExpOrb & a_ExpOrb)
void cProtocol172::SendScoreboardObjective(const AString & a_Name, const AString & a_DisplayName, Byte a_Mode)
{
- cPacketizer Pkt(*this, 0x3b);
+ cPacketizer Pkt(*this, 0x3B);
Pkt.WriteString(a_Name);
Pkt.WriteString(a_DisplayName);
Pkt.WriteByte(a_Mode);
@@ -719,7 +719,7 @@ void cProtocol172::SendScoreboardObjective(const AString & a_Name, const AString
void cProtocol172::SendScoreUpdate(const AString & a_Objective, const AString & a_Player, cObjective::Score a_Score, Byte a_Mode)
{
- cPacketizer Pkt(*this, 0x3c);
+ cPacketizer Pkt(*this, 0x3C);
Pkt.WriteString(a_Player);
Pkt.WriteByte(a_Mode);
@@ -736,7 +736,7 @@ void cProtocol172::SendScoreUpdate(const AString & a_Objective, const AString &
void cProtocol172::SendDisplayObjective(const AString & a_Objective, cScoreboard::eDisplaySlot a_Display)
{
- cPacketizer Pkt(*this, 0x3d);
+ cPacketizer Pkt(*this, 0x3D);
Pkt.WriteByte((int) a_Display);
Pkt.WriteString(a_Objective);
}