Don't wash away dig_by_water when above water

This commit is contained in:
Wuzzy 2017-05-15 01:00:10 +02:00
parent da3205837b
commit 7ac57b7a0b
1 changed files with 1 additions and 1 deletions

View File

@ -113,7 +113,7 @@ minetest.register_abm({
end end
end end
end end
for yp=-1,0 do for yp=0,1 do
local p = {x=pos.x, y=pos.y+yp, z=pos.z} local p = {x=pos.x, y=pos.y+yp, z=pos.z}
local n = minetest.get_node(p) local n = minetest.get_node(p)
local d = minetest.registered_nodes[n.name] local d = minetest.registered_nodes[n.name]