snow.legacy isnt used

This commit is contained in:
HybridDog
2015-05-29 10:27:59 +02:00
parent 0708ea6af3
commit d2e7ce77ba
2 changed files with 9 additions and 25 deletions

View File

@ -13,13 +13,10 @@ saplings grow into trees. --]]
-- Part 1: To disable the mapgen, add the *starting* comment under this line.
local mgname = ""
--Identify the mapgen.
minetest.register_on_mapgen_init(function(MapgenParams)
if MapgenParams.mgname then
mgname = MapgenParams.mgname
else
local mgname = MapgenParams.mgname
if not mgname then
io.write("[MOD] Snow Biomes: WARNING! mapgen could not be identifyed!\n")
end
if mgname == "v7" then