diff options
author | VanessaE <vanessaezekowitz@gmail.com> | 2013-01-16 11:46:38 -0800 |
---|---|---|
committer | VanessaE <vanessaezekowitz@gmail.com> | 2013-01-16 11:46:38 -0800 |
commit | b82aac1ed2bf078cda90c84b72c8983277e0db28 (patch) | |
tree | 7e7fdbe5fafe963f2a1749c915cea5d7dd676272 /compat.lua | |
parent | 1385c8dde26220d5b84b41cb859456a206419644 (diff) | |
parent | 78d183011ec5d33867e63e124e6c25785e5df14c (diff) |
Merge pull request #6 from Novatux/master
Item insertion in furnaces through side and mese pipe
Diffstat (limited to 'compat.lua')
-rw-r--r-- | compat.lua | 8 |
1 files changed, 2 insertions, 6 deletions
@@ -18,10 +18,8 @@ minetest.register_node(":default:furnace", { local inv=meta:get_inventory() if direction.y==1 then return inv:add_item("fuel",stack) - elseif direction.y==-1 then - return inv:add_item("src",stack) else - return stack + return inv:add_item("src",stack) end end, can_insert=function(pos,node,stack,direction) @@ -74,10 +72,8 @@ minetest.register_node(":default:furnace_active", { local inv=meta:get_inventory() if direction.y==1 then return inv:add_item("fuel",stack) - elseif direction.y==-1 then - return inv:add_item("src",stack) else - return stack + return inv:add_item("src",stack) end end, can_insert=function(pos,node,stack,direction) |