From ff36d8a74406e728125dff35f0cea74c7cac0703 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=EC=84=B8=EC=A0=A4=EA=B7=80=20=EA=B3=A0=EC=96=91=EC=9D=B4?= =?UTF-8?q?=EB=93=A4?= <46598063+qwreey75@users.noreply.github.com> Date: Thu, 6 Jan 2022 20:31:14 +0900 Subject: [PATCH] test --- src/class.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/class.lua b/src/class.lua index f9f2162..b3aeec1 100644 --- a/src/class.lua +++ b/src/class.lua @@ -99,7 +99,7 @@ function module.init(shared) local tstore = value.store; local rawKey = value.key; local set = tstore[rawKey]; - if set or (rawKey:match(",") and with) then + if type(set) ~= "nil" or (rawKey:match(",") and with) then if with then set = with(tstore,set,value.key,item); end