Skip to content
Snippets Groups Projects
Commit 816b9c8d authored by Perttu Ahola's avatar Perttu Ahola
Browse files

Fix loading of old signs

parent 3bea1a94
Branches
Tags
No related merge requests found
......@@ -57,11 +57,11 @@ static bool content_nodemeta_deserialize_legacy_body(
}
else if(id == NODEMETA_SIGN) // SignNodeMetadata
{
meta->setString("text", deSerializeLongString(is));
meta->setString("text", deSerializeString(is));
//meta->setString("infotext","\"${text}\"");
meta->setString("infotext",
std::string("\"") + meta->getString("text") + "\"");
meta->setString("formspec","field[text;;${text}]");
meta->setString("formspec","hack:sign_text_input");
return false;
}
else if(id == NODEMETA_CHEST) // ChestNodeMetadata
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment