forked from Mirrorlandia_minetest/minetest
Fix spaces breaking formspec_version[] tag
This commit is contained in:
parent
9284313d17
commit
8e63d22d64
@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user