Fix LuaCheck warning

This commit is contained in:
David Leal 2023-07-17 20:33:49 +00:00
parent ee42eeee8d
commit b42ab7c572

View File

@ -172,7 +172,7 @@ stairsplus.register_single = function(category, alternate, info, modname, subnam
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
end