mirror of
https://github.com/minetest-mods/technic.git
synced 2024-12-21 21:32:27 +01:00
parent
08b660ba99
commit
76a39e71b9
@ -95,7 +95,7 @@ minetest.register_node("technic:injector", {
|
|||||||
if meta:get_int("splitstacks") == 1 then
|
if meta:get_int("splitstacks") == 1 then
|
||||||
stack = stack:peek_item(1)
|
stack = stack:peek_item(1)
|
||||||
end
|
end
|
||||||
return meta:get_inventory():room_for_item("main", stack)
|
return inv:room_for_item("main", stack)
|
||||||
end,
|
end,
|
||||||
insert_object = function(pos, node, stack, direction)
|
insert_object = function(pos, node, stack, direction)
|
||||||
return minetest.get_meta(pos):get_inventory():add_item("main", stack)
|
return minetest.get_meta(pos):get_inventory():add_item("main", stack)
|
||||||
|
Loading…
Reference in New Issue
Block a user