Make ItemStack:set_count(0) clear the item stack
authorsfan5 <sfan5@live.de>
Fri, 15 Jan 2016 12:40:59 +0000 (13:40 +0100)
committersfan5 <sfan5@live.de>
Fri, 15 Jan 2016 12:44:45 +0000 (13:44 +0100)
commita58c0f458d336fdab59737c754661e4f16818d99
treee512aefd5bcca20dc62fc02738e8e8ddadc44235
parentda686160c33069b77a7b4c31fd97da5fa5b59baa
Make ItemStack:set_count(0) clear the item stack

fixes minetest/minetest_game#786
src/script/lua_api/l_item.cpp