mirror of
https://github.com/luanti-org/luanti.git
synced 2025-06-27 16:36:03 +00:00
Fix spaces breaking formspec_version[] tag
This commit is contained in:
parent
fa858530cc
commit
7a0884e2cd
1 changed files with 1 additions and 1 deletions
|
@ -2005,7 +2005,7 @@ bool GUIFormSpecMenu::parseVersionDirect(const std::string &data)
|
|||
return false;
|
||||
}
|
||||
|
||||
if (parts[0] != "formspec_version") {
|
||||
if (trim(parts[0]) != "formspec_version") {
|
||||
return false;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue