mirror of
https://github.com/mt-mods/pipeworks.git
synced 2025-07-04 09:10:35 +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:
@ -54,7 +54,7 @@ end
|
||||
|
||||
function tube_autoroute(pos)
|
||||
nctr = minetest.env:get_node(pos)
|
||||
print ("minetest.get_item_group("..nctr.name..',"tubedevice") == '..minetest.get_item_group(nctr.name, "tubedevice"))
|
||||
--print ("minetest.get_item_group("..nctr.name..',"tubedevice") == '..minetest.get_item_group(nctr.name, "tubedevice"))
|
||||
if (is_tube(nctr.name) == nil)
|
||||
and minetest.get_item_group(nctr.name, "tubedevice") ~= 1 then return end
|
||||
|
||||
|
Reference in New Issue
Block a user