diff options
author | VanessaE <vanessaezekowitz@gmail.com> | 2013-01-19 23:14:44 -0800 |
---|---|---|
committer | VanessaE <vanessaezekowitz@gmail.com> | 2013-01-19 23:14:44 -0800 |
commit | a2fc5547001399fdfd2f6a2c2746c01b0f97244f (patch) | |
tree | d8ef1771360846029d81c47b716104a920ef6bf1 /compat.lua | |
parent | f854d96c18f0a0ab2bf931b6d6a9c11f24cdb0b9 (diff) | |
parent | 47597910344754199f1400d57262ebaf1e705411 (diff) |
Merge pull request #11 from Novatux/master
Fixed a bug where autocrafter could be used to clone items.
Diffstat (limited to 'compat.lua')
-rw-r--r-- | compat.lua | 18 |
1 files changed, 18 insertions, 0 deletions
@@ -57,6 +57,12 @@ minetest.register_node(":default:furnace", { end return true end, + after_place_node = function(pos) + tube_scanforobjects(pos) + end, + after_dig_node = function(pos) + tube_scanforobjects(pos) + end }) minetest.register_node(":default:furnace_active", { @@ -111,6 +117,12 @@ minetest.register_node(":default:furnace_active", { end return true end, + after_place_node = function(pos) + tube_scanforobjects(pos) + end, + after_dig_node = function(pos) + tube_scanforobjects(pos) + end }) minetest.register_node(":default:chest", { @@ -159,4 +171,10 @@ minetest.register_node(":default:chest", { minetest.log("action", player:get_player_name().. " takes stuff from chest at "..minetest.pos_to_string(pos)) end, + after_place_node = function(pos) + tube_scanforobjects(pos) + end, + after_dig_node = function(pos) + tube_scanforobjects(pos) + end }) |