mirror of
https://github.com/moparisthebest/minetest
synced 2024-11-17 14:55:13 -05:00
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