Merge remote-tracking branch 'origin/feature/trim_server_details' into develop
This commit is contained in:
commit
414946cad9
@ -64,8 +64,8 @@ struct Server
|
|||||||
|
|
||||||
void serialize(nbt::tag_compound& server)
|
void serialize(nbt::tag_compound& server)
|
||||||
{
|
{
|
||||||
server.insert("name", m_name.toUtf8().toStdString());
|
server.insert("name", m_name.trimmed().toUtf8().toStdString());
|
||||||
server.insert("ip", m_address.toUtf8().toStdString());
|
server.insert("ip", m_address.trimmed().toUtf8().toStdString());
|
||||||
if(m_icon.size())
|
if(m_icon.size())
|
||||||
{
|
{
|
||||||
server.insert("icon", m_icon.toBase64().toStdString());
|
server.insert("icon", m_icon.toBase64().toStdString());
|
||||||
|
Loading…
Reference in New Issue
Block a user