mirror of
https://github.com/mt-mods/biome_lib.git
synced 2024-12-25 10:20:18 +01:00
Fix overlap in the split-to-blocks feature
This commit is contained in:
parent
ac8738d837
commit
27cd07cb36
@ -56,11 +56,11 @@ end
|
||||
-- split into individual mapblocks to reduce lag
|
||||
|
||||
minetest.register_on_generated(function(minp, maxp, blockseed)
|
||||
for x = 0, 5 do
|
||||
for x = 0, 4 do
|
||||
local minx = minp.x + x*16
|
||||
for y = 0, 5 do
|
||||
for y = 0, 4 do
|
||||
local miny = minp.y + y*16
|
||||
for z = 0, 5 do
|
||||
for z = 0, 4 do
|
||||
local minz = minp.z + z*16
|
||||
|
||||
local bmin = {x=minx, y=miny, z=minz}
|
||||
|
Loading…
Reference in New Issue
Block a user