Don't allow items to be moved between the input and output slots

This commit is contained in:
Samuel Sieb 2016-03-12 00:53:26 -08:00
parent 699b264168
commit 771d895c4f

View File

@ -98,6 +98,10 @@ allow_metadata_inventory_put = function(pos, listname, index, stack, player)
end
end,
allow_metadata_inventory_move = function(pos, from_list, from_index, to_list, to_index, count, player)
return 0
end,
on_receive_fields = function(pos, formname, fields, sender)
local meta = minetest.get_meta(pos)
local inv = meta:get_inventory()