1
0
Fork 0

Make variable local

This commit is contained in:
Wuzzy 2019-12-14 03:38:00 +01:00
parent 741b32e8d0
commit 41d7e513e7
1 changed files with 1 additions and 1 deletions

View File

@ -84,7 +84,7 @@ mcl_structures.generate_igloo = function(pos)
if success and r == 1 then
-- Select basement depth
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
buffer = pos.y - (mcl_vars.mg_lava_nether_max + 10)
elseif dim == "end" then