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