mirror of
https://git.minetest.land/MineClone2/MineClone2.git
synced 2024-12-03 00:03:46 +01:00
Make variable local
parent
741b32e8d0
commit
41d7e513e7
@ -84,7 +84,7 @@ mcl_structures.generate_igloo = function(pos)
|
|||||||
if success and r == 1 then
|
if success and r == 1 then
|
||||||
-- Select basement depth
|
-- Select basement depth
|
||||||
local dim = mcl_worlds.pos_to_dimension(pos)
|
local dim = mcl_worlds.pos_to_dimension(pos)
|
||||||
buffer = pos.y - (mcl_vars.mg_lava_overworld_max + 10)
|
local buffer = pos.y - (mcl_vars.mg_lava_overworld_max + 10)
|
||||||
if dim == "nether" then
|
if dim == "nether" then
|
||||||
buffer = pos.y - (mcl_vars.mg_lava_nether_max + 10)
|
buffer = pos.y - (mcl_vars.mg_lava_nether_max + 10)
|
||||||
elseif dim == "end" then
|
elseif dim == "end" then
|
||||||
|
Loading…
Reference in New Issue
Block a user