Fix bug with remove references.
This commit is contained in:
parent
c68f4df583
commit
6d7f4c6da5
2
init.lua
2
init.lua
@ -907,7 +907,7 @@ remove_marking.replace = function(player)
|
||||
for x = pos1.x, pos2.x do
|
||||
local vi = a:index(x, y, z)
|
||||
if data[vi] == minetest.get_content_id(marking_not_desert) or data[vi] == minetest.get_content_id(marking_desert) then
|
||||
if add_embankment then
|
||||
if add_embankment_config then -- independent of Tunnel mode
|
||||
data[vi] = minetest.get_content_id("tunnelmaker:embankment")
|
||||
else
|
||||
if is_desert(player, {x=x, y=y, z=z}) then
|
||||
|
Loading…
x
Reference in New Issue
Block a user