diff options
| author | tenplus1 <kinsellaja@yahoo.com> | 2015-04-11 11:11:22 +0100 | 
|---|---|---|
| committer | tenplus1 <kinsellaja@yahoo.com> | 2015-04-11 11:11:22 +0100 | 
| commit | 9e6a47d97dfd3ceb1d8c60fa65dcd7add45cacaa (patch) | |
| tree | 3cebb60bb805044cdc957e677b8b1434212c7839 | |
| parent | 258831a11254f9daaad4c6f6775a68649e6ee98d (diff) | |
water puts out torch and drops as item
| -rw-r--r-- | water.lua | 2 | 
1 files changed, 1 insertions, 1 deletions
| @@ -102,7 +102,7 @@ minetest.register_abm({  	chance = 1,  	action = function(pos, node)  		local num = #minetest.find_nodes_in_area({x=pos.x-1, y=pos.y, z=pos.z}, {x=pos.x+1, y=pos.y, z=pos.z}, {"group:water"}) -		num = num + #minetest.find_nodes_in_area({x=pos.x, y=pos.y, z=pos.z-1}, {x=pos.x, y=pos.y, z=pos.z-1}, {"group:water"}) +		num = num + #minetest.find_nodes_in_area({x=pos.x, y=pos.y, z=pos.z-1}, {x=pos.x, y=pos.y, z=pos.z+1}, {"group:water"})  		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"}) | 
