diff options
author | est31 <MTest31@outlook.com> | 2015-06-18 04:25:11 +0200 |
---|---|---|
committer | est31 <MTest31@outlook.com> | 2015-06-18 04:25:11 +0200 |
commit | ea1b17b88f24eac7125a0765c37bbcd4fe8399db (patch) | |
tree | 21ad46d6647fa32b855d0a29404efac095a401fd | |
parent | 43dab2ffc899133fbd8bb4bf4d209a3bbc70b901 (diff) | |
download | minetest-ea1b17b88f24eac7125a0765c37bbcd4fe8399db.tar.gz minetest-ea1b17b88f24eac7125a0765c37bbcd4fe8399db.tar.bz2 minetest-ea1b17b88f24eac7125a0765c37bbcd4fe8399db.zip |
Don't print an error for valid listring[] formspec
-rw-r--r-- | src/guiFormSpecMenu.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
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; |