forked from VoxeLibre/VoxeLibre
Don't wash away dig_by_water when above water
This commit is contained in:
parent
da3205837b
commit
7ac57b7a0b
|
@ -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]
|
||||||
|
|
Loading…
Reference in New Issue