mirror of
https://github.com/luanti-org/luanti.git
synced 2025-10-13 08:35:20 +02:00
Fix spaces breaking formspec_version[] tag
This commit is contained in:
@@ -2262,7 +2262,7 @@ bool GUIFormSpecMenu::parseVersionDirect(const std::string &data)
|
|||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (parts[0] != "formspec_version") {
|
if (trim(parts[0]) != "formspec_version") {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user