aboutsummaryrefslogtreecommitdiff
path: root/stairsplus/panels.lua
diff options
context:
space:
mode:
Diffstat (limited to 'stairsplus/panels.lua')
-rw-r--r--stairsplus/panels.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/stairsplus/panels.lua b/stairsplus/panels.lua
index dc1d67d..ab6ef83 100644
--- a/stairsplus/panels.lua
+++ b/stairsplus/panels.lua
@@ -77,7 +77,7 @@ function stairsplus:register_panel(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.. ":panel_" ..fields.drop..alternate
end
minetest.register_node(":" ..modname.. ":panel_" ..subname..alternate, def)