forked from MTSR/moreblocks
Fix LuaCheck warning (#198)
This commit is contained in:
parent
ee42eeee8d
commit
79a0c76d40
@ -172,7 +172,7 @@ stairsplus.register_single = function(category, alternate, info, modname, subnam
|
|||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
if fields.drop and not (type(fields.drop) == "table") then
|
if fields.drop and (type(fields.drop) ~= "table") then
|
||||||
def.drop = modname.. ":" .. category .. "_" .. fields.drop .. alternate
|
def.drop = modname.. ":" .. category .. "_" .. fields.drop .. alternate
|
||||||
end
|
end
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user