1
0

Merge pull request #3326 from ElNounch/WrongLitterals

Fixing string literal catching word letter as hexa-digit
This commit is contained in:
Mattes D 2016-08-17 16:53:05 +02:00 committed by GitHub
commit 04887cd81a
2 changed files with 2 additions and 2 deletions

View File

@ -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")

View File

@ -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")