From: est31 Date: Thu, 18 Jun 2015 02:25:11 +0000 (+0200) Subject: Don't print an error for valid listring[] formspec X-Git-Tag: 0.4.13~195 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=ea1b17b88f24eac7125a0765c37bbcd4fe8399db;p=oweals%2Fminetest.git Don't print an error for valid listring[] formspec --- diff --git a/src/guiFormSpecMenu.cpp b/src/guiFormSpecMenu.cpp index 73fef9a69..c11fc303a 100644 --- a/src/guiFormSpecMenu.cpp +++ b/src/guiFormSpecMenu.cpp @@ -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;