mirror of
https://github.com/mt-mods/pipeworks.git
synced 2025-06-30 15:20:34 +02:00
Added chests and furnaces autoconnect to tubes.
Fixed a bug where autocrafter could bbe used to clone items. Removed test code.
This commit is contained in:
@ -282,7 +282,6 @@ function notvel(tbl,vel)
|
||||
end
|
||||
|
||||
function go_next(pos,velocity,stack)
|
||||
--print(dump(pos))
|
||||
local chests={}
|
||||
local tubes={}
|
||||
local cnode=minetest.env:get_node(pos)
|
||||
@ -313,7 +312,6 @@ function go_next(pos,velocity,stack)
|
||||
npos=addVect(pos,vect)
|
||||
node=minetest.env:get_node(npos)
|
||||
tube_receiver=minetest.get_item_group(node.name,"tubedevice_receiver")
|
||||
--tubelike=minetest.get_item_group(node.name,"tubelike")
|
||||
meta=minetest.env:get_meta(npos)
|
||||
tubelike=meta:get_int("tubelike")
|
||||
if tube_receiver==1 then
|
||||
|
Reference in New Issue
Block a user