summaryrefslogtreecommitdiff
path: root/mapgen.lua
diff options
context:
space:
mode:
authorAuke Kok <sofar@foo-projects.org>2016-10-18 09:33:30 -0700
committerAuke Kok <sofar@foo-projects.org>2016-10-18 09:33:30 -0700
commit3b6c0e5e782b0dc9935e9c9c363475c733bde92a (patch)
tree06dc292b19da6f6d64311dd0b1e2901c8ac8f37f /mapgen.lua
parente6421d8d495c4415eeae80c7b1a2ce20d55e443d (diff)
Luacheck cleanups and .luacheckrc
Use `luacheck .` to run luacheck on this mod. Cleaned up luacheck errors.
Diffstat (limited to 'mapgen.lua')
-rw-r--r--mapgen.lua4
1 files changed, 1 insertions, 3 deletions
diff --git a/mapgen.lua b/mapgen.lua
index 9744584..b9ce6d0 100644
--- a/mapgen.lua
+++ b/mapgen.lua
@@ -1,8 +1,6 @@
local mg_params = minetest.get_mapgen_params()
-if mg_params.mgname == "v6" then
- -- not supported at this point
-elseif mg_params.mgname ~= "singlenode" then
+if mg_params.mgname ~= "v6" and mg_params.mgname ~= "singlenode" then
minetest.register_decoration({
deco_type = "simple",
place_on = { "default:dirt_with_grass" },