Skip to content

Commit

Permalink
Merge pull request #8 from minetest-mods/master
Browse files Browse the repository at this point in the history
[pull] pandorabox from minetest-mods:master
  • Loading branch information
pull[bot] committed Dec 25, 2019
2 parents d132c22 + 76a39e7 commit b9059ea
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion technic/machines/other/injector.lua
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ minetest.register_node("technic:injector", {
if meta:get_int("splitstacks") == 1 then
stack = stack:peek_item(1)
end
return meta:get_inventory():room_for_item("main", stack)
return inv:room_for_item("main", stack)
end,
insert_object = function(pos, node, stack, direction)
return minetest.get_meta(pos):get_inventory():add_item("main", stack)
Expand Down

0 comments on commit b9059ea

Please sign in to comment.