@@ -39,9 +39,9 @@ if inv:is_empty('charge') then return false end local put_in_hopper = sorcery.lib.node.discharger(pos) local discharge = function(item,idx) - inv:set_stack('charge',put_in_hopper(item)) + inv:set_stack('charge',idx,put_in_hopper(item)) end local ley = sorcery.ley.estimate(pos) local charged = false