summaryrefslogtreecommitdiff
path: root/water.lua
diff options
context:
space:
mode:
authortenplus1 <kinsellaja@yahoo.com>2015-05-08 20:36:32 +0100
committertenplus1 <kinsellaja@yahoo.com>2015-05-08 20:36:32 +0100
commit787a260220c968a50b55ef9e826c042750bcb79a (patch)
tree0c1e696d5b174f825283f88660d033ecb7311779 /water.lua
parente4ef14ac0217f9b72629907a5b250444296a22e0 (diff)
License changed from GNU to WTFL
Diffstat (limited to 'water.lua')
-rw-r--r--water.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/water.lua b/water.lua
index d7d9d08..946c676 100644
--- a/water.lua
+++ b/water.lua
@@ -106,7 +106,7 @@ minetest.register_abm({
num = num + #minetest.find_nodes_in_area({x=pos.x, y=pos.y+1, z=pos.z}, {x=pos.x, y=pos.y+1, z=pos.z}, {"group:water"})
if num > 0 then
minetest.set_node(pos, {name="default:water_flowing"})
- minetest.add_item(pos, {name = "default:torch"})
+ minetest.add_item(pos, {name = node.name})
end
end,
})