diff options
Diffstat (limited to 'stairsplus/stairs.lua')
-rw-r--r-- | stairsplus/stairs.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/stairsplus/stairs.lua b/stairsplus/stairs.lua index dde6d50..04b8667 100644 --- a/stairsplus/stairs.lua +++ b/stairsplus/stairs.lua @@ -117,7 +117,7 @@ function stairsplus:register_stair(modname, subname, recipeitem, fields) def.on_place = minetest.rotate_node def.description = desc def.groups = stairsplus:prepare_groups(fields.groups) - if fields.drop then + if fields.drop and not type(fields.drop) == "table" then def.drop = modname .. ":stair_" .. fields.drop .. alternate end minetest.register_node(":" .. modname .. ":stair_" .. subname .. alternate, def) |