1
0
forked from MTSR/moreblocks

Fix LuaCheck warning (#198)

This commit is contained in:
David Leal 2023-07-17 17:10:18 -06:00 committed by GitHub
parent ee42eeee8d
commit 79a0c76d40
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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