mirror of
https://github.com/luanti-org/luanti.git
synced 2025-08-01 17:38:41 +00:00
Implement sign using form field protocol
This commit is contained in:
parent
ff8d2bbc36
commit
d7447cdf9e
10 changed files with 117 additions and 31 deletions
|
@ -57,7 +57,9 @@ static bool content_nodemeta_deserialize_legacy_body(
|
|||
else if(id == NODEMETA_SIGN) // SignNodeMetadata
|
||||
{
|
||||
meta->setString("text", deSerializeLongString(is));
|
||||
meta->setString("infotext","\"${text}\"");
|
||||
//meta->setString("infotext","\"${text}\"");
|
||||
meta->setString("infotext",
|
||||
std::string("\"") + meta->getString("text") + "\"");
|
||||
meta->setString("formspec","field[text;;${text}]");
|
||||
return false;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue