From 79a0c76d40d729daff3ce4a2a43cd88814ea804a Mon Sep 17 00:00:00 2001 From: David Leal Date: Mon, 17 Jul 2023 17:10:18 -0600 Subject: [PATCH] Fix LuaCheck warning (#198) --- stairsplus/common.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/stairsplus/common.lua b/stairsplus/common.lua index 6d09ab5..aee1e6a 100644 --- a/stairsplus/common.lua +++ b/stairsplus/common.lua @@ -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