This commit is contained in:
Xeno333 2024-08-30 22:18:19 -05:00
parent 47b86a4612
commit cb204d65ec

View File

@ -134,7 +134,7 @@ function mcl_better_end.mapgen.gen(minp, maxp, seed)
local lx = x-minp.x+1
local ly = y-minp.y+1
local lz = x-minp.z+1
local noise = noise_map[lz][ly][lz]
local noise = noise_map[lx][ly][ly]
local noise2
local noise_center
@ -144,7 +144,7 @@ function mcl_better_end.mapgen.gen(minp, maxp, seed)
goto keepitup2
end
noise2 = noise_map[lz][ly+1][lz]
noise2 = noise_map[lx][ly+1][ly]
noise_center = perlin:get_3d({x = x, y = y, z = z})
if mcl_better_end.api.is_island(noise) then
@ -197,13 +197,13 @@ function mcl_better_end.mapgen.gen(minp, maxp, seed)
for y = minp.y, maxp.y do
for z = minp.z, maxp.z do
for x = minp.x, maxp.x do
local noise = noise_map[lz][ly][lz]
local noise = noise_map[lx][ly][ly]
if mcl_better_end.api.is_free(noise) then
goto keepitup
end
local noise2 = noise_map[lz][ly][lz]
local noise2 = noise_map[lx][ly+1][ly]
local noise_center = perlin:get_3d({x = x, y = y, z = z})
if mcl_better_end.api.is_island(noise) then