summaryrefslogtreecommitdiff
path: root/water.lua
diff options
context:
space:
mode:
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 3b0ba81..27325a1 100644
--- a/water.lua
+++ b/water.lua
@@ -62,7 +62,7 @@ minetest.register_abm({
chance = 4,
catch_up = false,
action = function(pos, node)
- local water = minetest.find_nodes_in_area(
+ local water = minetest.find_nodes_in_area_under_air(
{x = pos.x - 1, y = pos.y - 1, z = pos.z - 1},
{x = pos.x + 1, y = pos.y + 1, z = pos.z + 1},
{"default:water_source", "default:river_water_source"})