mirror of
https://github.com/luanti-org/luanti.git
synced 2025-10-12 16:15: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;
|
||||
}
|
||||
|
||||
if (parts[0] != "formspec_version") {
|
||||
if (trim(parts[0]) != "formspec_version") {
|
||||
return false;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user