Fix warning

Fixes #25
This commit is contained in:
Auke Kok 2016-01-26 12:52:55 -08:00
parent ea667f90a4
commit cdc50bc069

View File

@ -18,7 +18,7 @@ and minetest.setting_getbool("creative_mode") then
end end
function stairsplus:prepare_groups(groups) function stairsplus:prepare_groups(groups)
result = {} local result = {}
if groups then if groups then
for k, v in pairs(groups) do for k, v in pairs(groups) do
if k ~= "wood" and k ~= "stone" then if k ~= "wood" and k ~= "stone" then