Fix accidental global in mcl_portals
This commit is contained in:
parent
c01c53af49
commit
3bed1c5bf8
|
@ -217,7 +217,7 @@ local function find_overworld_target_y(x, y, z)
|
||||||
if not node then
|
if not node then
|
||||||
return target_y
|
return target_y
|
||||||
end
|
end
|
||||||
nn = node.name
|
local nn = node.name
|
||||||
if nn ~= "air" and minetest.get_item_group(nn, "water") == 0 then
|
if nn ~= "air" and minetest.get_item_group(nn, "water") == 0 then
|
||||||
target_y = target_y + 1
|
target_y = target_y + 1
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in New Issue
Block a user