1
0
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:
Novatux
2013-01-20 07:57:58 +01:00
parent 5edb7a61a3
commit 4759791034
4 changed files with 25 additions and 4 deletions

View File

@ -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