Don't print an error for valid listring[] formspec

pull/2799/head
est31 2015-06-18 04:25:11 +02:00
parent 43dab2ffc8
commit ea1b17b88f
1 changed files with 1 additions and 0 deletions

View File

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