From ea1b17b88f24eac7125a0765c37bbcd4fe8399db Mon Sep 17 00:00:00 2001 From: est31 Date: Thu, 18 Jun 2015 04:25:11 +0200 Subject: [PATCH] Don't print an error for valid listring[] formspec --- src/guiFormSpecMenu.cpp | 1 + 1 file changed, 1 insertion(+) 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;