forked from Mirrorlandia_minetest/minetest
Don't print an error for valid listring[] formspec
This commit is contained in:
parent
43dab2ffc8
commit
ea1b17b88f
@ -381,6 +381,7 @@ void GUIFormSpecMenu::parseListRing(parserData* data, std::string element)
|
|||||||
const ListDrawSpec &spb = m_inventorylists[siz - 1];
|
const ListDrawSpec &spb = m_inventorylists[siz - 1];
|
||||||
m_inventory_rings.push_back(ListRingSpec(spa.inventoryloc, spa.listname));
|
m_inventory_rings.push_back(ListRingSpec(spa.inventoryloc, spa.listname));
|
||||||
m_inventory_rings.push_back(ListRingSpec(spb.inventoryloc, spb.listname));
|
m_inventory_rings.push_back(ListRingSpec(spb.inventoryloc, spb.listname));
|
||||||
|
return;
|
||||||
}
|
}
|
||||||
errorstream<< "Invalid list ring element(" << parts.size() << ", "
|
errorstream<< "Invalid list ring element(" << parts.size() << ", "
|
||||||
<< m_inventorylists.size() << "): '" << element << "'" << std::endl;
|
<< m_inventorylists.size() << "): '" << element << "'" << std::endl;
|
||||||
|
Loading…
Reference in New Issue
Block a user