1
0
mirror of https://github.com/mt-mods/biome_lib.git synced 2024-12-26 02:40:17 +01:00

Fix overlap in the split-to-blocks feature

This commit is contained in:
Vanessa Dannenberg 2021-04-01 04:31:46 -04:00
parent ac8738d837
commit 27cd07cb36

View File

@ -56,11 +56,11 @@ end
-- split into individual mapblocks to reduce lag -- split into individual mapblocks to reduce lag
minetest.register_on_generated(function(minp, maxp, blockseed) minetest.register_on_generated(function(minp, maxp, blockseed)
for x = 0, 5 do for x = 0, 4 do
local minx = minp.x + x*16 local minx = minp.x + x*16
for y = 0, 5 do for y = 0, 4 do
local miny = minp.y + y*16 local miny = minp.y + y*16
for z = 0, 5 do for z = 0, 4 do
local minz = minp.z + z*16 local minz = minp.z + z*16
local bmin = {x=minx, y=miny, z=minz} local bmin = {x=minx, y=miny, z=minz}