summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorElNounch <publi@elnounch.net>2016-08-17 09:37:48 +0200
committerElNounch <publi@elnounch.net>2016-08-17 09:37:48 +0200
commitd75bbdd03d4f9246fe52814d75b9aa20b14a1e98 (patch)
tree309db83c19e5736536cf6336c6e537d6c848ad86
parentAdded cWorld:SetSpawn() API and Lua binding (#3316) (diff)
downloadcuberite-d75bbdd03d4f9246fe52814d75b9aa20b14a1e98.tar
cuberite-d75bbdd03d4f9246fe52814d75b9aa20b14a1e98.tar.gz
cuberite-d75bbdd03d4f9246fe52814d75b9aa20b14a1e98.tar.bz2
cuberite-d75bbdd03d4f9246fe52814d75b9aa20b14a1e98.tar.lz
cuberite-d75bbdd03d4f9246fe52814d75b9aa20b14a1e98.tar.xz
cuberite-d75bbdd03d4f9246fe52814d75b9aa20b14a1e98.tar.zst
cuberite-d75bbdd03d4f9246fe52814d75b9aa20b14a1e98.zip
-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")