Codebase list minetest-mod-unified-inventory / 0549cdd
New upstream version 20180810 Julien Puydt 5 years ago
1 changed file(s) with 2 addition(s) and 0 deletion(s). Raw diff Collapse all Expand all
199199 end
200200 return 1
201201 end
202 -- New bag is smaller: Disallow inserting
203 return 0
202204 end,
203205 allow_take = function(inv, listname, index, stack, player)
204206 if player:get_inventory():is_empty(listname.."contents") then