diff options
author | TenPlus1 <kinsellaja@yahoo.com> | 2015-11-17 20:35:10 +0000 |
---|---|---|
committer | TenPlus1 <kinsellaja@yahoo.com> | 2015-11-17 20:35:10 +0000 |
commit | b88d8e902c899077e250fd64db7eb0563b916167 (patch) | |
tree | 93f328ad7eb9920bb98205481339d31e6c2c6246 /water.lua | |
parent | d025784f3096bced6f0e7384b2c4d3c8a994cdac (diff) |
Fix water Abm bug
Diffstat (limited to 'water.lua')
-rw-r--r-- | water.lua | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -66,7 +66,8 @@ minetest.register_abm({ {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"}) - if water then + + if water and #water > 0 then minetest.set_node(water[1], {name = "default:ice"}) end end, |