summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorMattes D <github@xoft.cz>2016-08-17 16:53:05 +0200
committerGitHub <noreply@github.com>2016-08-17 16:53:05 +0200
commit04887cd81ad0270037e968570af3e4486ea04f13 (patch)
tree309db83c19e5736536cf6336c6e537d6c848ad86 /src
parentAdded cWorld:SetSpawn() API and Lua binding (#3316) (diff)
parentFixing string literal catching word letter as hexa-digit (diff)
downloadcuberite-04887cd81ad0270037e968570af3e4486ea04f13.tar
cuberite-04887cd81ad0270037e968570af3e4486ea04f13.tar.gz
cuberite-04887cd81ad0270037e968570af3e4486ea04f13.tar.bz2
cuberite-04887cd81ad0270037e968570af3e4486ea04f13.tar.lz
cuberite-04887cd81ad0270037e968570af3e4486ea04f13.tar.xz
cuberite-04887cd81ad0270037e968570af3e4486ea04f13.tar.zst
cuberite-04887cd81ad0270037e968570af3e4486ea04f13.zip
Diffstat (limited to '')
-rw-r--r--src/Protocol/Protocol18x.cpp2
-rw-r--r--src/Protocol/Protocol19x.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/Protocol/Protocol18x.cpp b/src/Protocol/Protocol18x.cpp
index ae9571f03..b158dee4d 100644
--- a/src/Protocol/Protocol18x.cpp
+++ b/src/Protocol/Protocol18x.cpp
@@ -2714,7 +2714,7 @@ void cProtocol180::HandleVanillaPluginMessage(cByteBuffer & a_ByteBuffer, const
HANDLE_READ(a_ByteBuffer, ReadVarUTF8String, AString, Brand);
m_Client->SetClientBrand(Brand);
// Send back our brand, including the length:
- SendPluginMessage("MC|Brand", "\x08Cuberite");
+ SendPluginMessage("MC|Brand", "\x08""Cuberite");
return;
}
else if (a_Channel == "MC|Beacon")
diff --git a/src/Protocol/Protocol19x.cpp b/src/Protocol/Protocol19x.cpp
index c11e05565..b0e458691 100644
--- a/src/Protocol/Protocol19x.cpp
+++ b/src/Protocol/Protocol19x.cpp
@@ -2819,7 +2819,7 @@ void cProtocol190::HandleVanillaPluginMessage(cByteBuffer & a_ByteBuffer, const
HANDLE_READ(a_ByteBuffer, ReadVarUTF8String, AString, Brand);
m_Client->SetClientBrand(Brand);
// Send back our brand, including the length:
- SendPluginMessage("MC|Brand", "\x08Cuberite");
+ SendPluginMessage("MC|Brand", "\x08""Cuberite");
return;
}
else if (a_Channel == "MC|Beacon")