diff options
author | Novatux <nathanael.courant@laposte.net> | 2013-01-16 12:26:11 +0100 |
---|---|---|
committer | Novatux <nathanael.courant@laposte.net> | 2013-01-16 12:26:11 +0100 |
commit | d5f7f5fb8a963735a9e6a79f8ad1979b68990c72 (patch) | |
tree | 0dafe8014abd05aa49802150995ea74edbdd466c | |
parent | 1385c8dde26220d5b84b41cb859456a206419644 (diff) | |
download | pipeworks-d5f7f5fb8a963735a9e6a79f8ad1979b68990c72.tar pipeworks-d5f7f5fb8a963735a9e6a79f8ad1979b68990c72.tar.gz pipeworks-d5f7f5fb8a963735a9e6a79f8ad1979b68990c72.tar.bz2 pipeworks-d5f7f5fb8a963735a9e6a79f8ad1979b68990c72.tar.xz pipeworks-d5f7f5fb8a963735a9e6a79f8ad1979b68990c72.zip |
Items can be inserted in furnaces through side
-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) |