Fix spaces breaking formspec_version[] tag

This commit is contained in:
rubenwardy 2019-12-09 21:05:07 +00:00
parent fa858530cc
commit 7a0884e2cd

@ -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;
}