Skip to content

Commit

Permalink
Don't print an error for valid listring[] formspec
Browse files Browse the repository at this point in the history
  • Loading branch information
est31 committed Jun 18, 2015
1 parent 43dab2f commit ea1b17b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/guiFormSpecMenu.cpp
Expand Up @@ -381,6 +381,7 @@ void GUIFormSpecMenu::parseListRing(parserData* data, std::string element)
const ListDrawSpec &spb = m_inventorylists[siz - 1];
m_inventory_rings.push_back(ListRingSpec(spa.inventoryloc, spa.listname));
m_inventory_rings.push_back(ListRingSpec(spb.inventoryloc, spb.listname));
return;
}
errorstream<< "Invalid list ring element(" << parts.size() << ", "
<< m_inventorylists.size() << "): '" << element << "'" << std::endl;
Expand Down

0 comments on commit ea1b17b

Please sign in to comment.