summaryrefslogtreecommitdiff
path: root/biome_lib
diff options
context:
space:
mode:
authorVanessa Ezekowitz <vanessaezekowitz@gmail.com>2017-01-31 19:39:31 -0500
committerVanessa Ezekowitz <vanessaezekowitz@gmail.com>2017-01-31 19:39:31 -0500
commit39f5cba27eef35877c91291f518974f34130fcb6 (patch)
tree117a9d1b7d4ee5f78f73e1216e982c366ed9ecc6 /biome_lib
parent2922421f4a88e56a0a1c819f62bf2bc287835388 (diff)
downloaddreambuilder_modpack-39f5cba27eef35877c91291f518974f34130fcb6.tar
dreambuilder_modpack-39f5cba27eef35877c91291f518974f34130fcb6.tar.gz
dreambuilder_modpack-39f5cba27eef35877c91291f518974f34130fcb6.tar.bz2
dreambuilder_modpack-39f5cba27eef35877c91291f518974f34130fcb6.tar.xz
dreambuilder_modpack-39f5cba27eef35877c91291f518974f34130fcb6.zip
Huge update - lots of mods:
areas, biome_lib, blox, bobblocks, boost_cart, homedecor, mobs, coloredwood, ilights, inbox, item_tweaks, moreblocks, moreores, pipeworks, plasticbox, signs_lib, stainedglass, roads, unifieddyes, vines, worldedit, xban2, maybe some others I didn't think about ;-)
Diffstat (limited to 'biome_lib')
-rw-r--r--biome_lib/init.lua24
1 files changed, 14 insertions, 10 deletions
diff --git a/biome_lib/init.lua b/biome_lib/init.lua
index 349b2f2..5cb6202 100644
--- a/biome_lib/init.lua
+++ b/biome_lib/init.lua
@@ -448,20 +448,24 @@ end)
-- to prevent unpopulated map areas
minetest.register_on_shutdown(function()
- print("[biome_lib] Stand by, playing out the rest of the aircheck mapblock log")
- print("(there are "..#biome_lib.blocklist_aircheck.." entries)...")
- while true do
- biome_lib:generate_block_with_air_checking(0.1)
- if #biome_lib.blocklist_aircheck == 0 then return end
+ if #biome_lib.blocklist_aircheck > 0 then
+ print("[biome_lib] Stand by, playing out the rest of the aircheck mapblock log")
+ print("(there are "..#biome_lib.blocklist_aircheck.." entries)...")
+ while true do
+ biome_lib:generate_block_with_air_checking(0.1)
+ if #biome_lib.blocklist_aircheck == 0 then return end
+ end
end
end)
minetest.register_on_shutdown(function()
- print("[biome_lib] Stand by, playing out the rest of the no-aircheck mapblock log")
- print("(there are "..#biome_lib.blocklist_no_aircheck.." entries)...")
- while true do
- biome_lib:generate_block_no_aircheck(0.1)
- if #biome_lib.blocklist_no_aircheck == 0 then return end
+ if #biome_lib.blocklist_no_aircheck > 0 then
+ print("[biome_lib] Stand by, playing out the rest of the no-aircheck mapblock log")
+ print("(there are "..#biome_lib.blocklist_no_aircheck.." entries)...")
+ while true do
+ biome_lib:generate_block_no_aircheck(0.1)
+ if #biome_lib.blocklist_no_aircheck == 0 then return end
+ end
end
end)