290ab0b588
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1633 0a769ca7-a7f5-676a-18bf-c427514a06d6
16 lines
483 B
Lua
16 lines
483 B
Lua
function OnChunkGenerating(World, ChunkX, ChunkZ, ChunkDesc)
|
|
if (LimitWorld == true) then
|
|
if not LimitWorldsCuboid[World:GetName()]:IsInside( Vector3i(ChunkX, 128, ChunkZ) ) then
|
|
FillBlocks(ChunkDesc)
|
|
end
|
|
end
|
|
end
|
|
|
|
function FillBlocks(ChunkDesc)
|
|
ChunkDesc:FillBlocks(0,0)
|
|
ChunkDesc:SetUseDefaultBiomes(false)
|
|
ChunkDesc:SetUseDefaultHeight(false)
|
|
ChunkDesc:SetUseDefaultComposition(false)
|
|
ChunkDesc:SetUseDefaultStructures(false)
|
|
ChunkDesc:SetUseDefaultFinish(false)
|
|
end |