Skip to content
This repository has been archived by the owner on Nov 12, 2018. It is now read-only.

Commit

Permalink
Remove unnecessary calls in mapgen setup.
Browse files Browse the repository at this point in the history
  • Loading branch information
linewriter1024 committed Jan 10, 2017
1 parent 802e33f commit 0abe565
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions kingdoms/gen.lua
Original file line number Diff line number Diff line change
@@ -1,14 +1,9 @@
-- Set flags used by Kingdoms.
if kingdoms.config.mapgen then
minetest.clear_registered_biomes()
minetest.clear_registered_decorations()

minetest.set_mapgen_setting("mgname", "v7")
minetest.set_mapgen_setting("flags", "trees, caves, dungeons, noflat, light, decorations")

default.register_biomes()
default.register_decorations()
flowers.register_decorations()
kingdoms.log("action", "Applied mapgen settings.")
end
magic.register_mapgen()

0 comments on commit 0abe565

Please sign in to comment.