diff options
author | Auke Kok <sofar@foo-projects.org> | 2016-10-18 09:33:30 -0700 |
---|---|---|
committer | Auke Kok <sofar@foo-projects.org> | 2016-10-18 09:33:30 -0700 |
commit | 3b6c0e5e782b0dc9935e9c9c363475c733bde92a (patch) | |
tree | 06dc292b19da6f6d64311dd0b1e2901c8ac8f37f /mapgen.lua | |
parent | e6421d8d495c4415eeae80c7b1a2ce20d55e443d (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.lua | 4 |
1 files changed, 1 insertions, 3 deletions
@@ -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" }, |