From 3b6c0e5e782b0dc9935e9c9c363475c733bde92a Mon Sep 17 00:00:00 2001 From: Auke Kok Date: Tue, 18 Oct 2016 09:33:30 -0700 Subject: Luacheck cleanups and .luacheckrc Use `luacheck .` to run luacheck on this mod. Cleaned up luacheck errors. --- mapgen.lua | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'mapgen.lua') 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" }, -- cgit v1.2.3