From 04916ebe2187ca425fdb45fa3969d22aefbf3236 Mon Sep 17 00:00:00 2001 From: Qwreey Date: Tue, 21 Feb 2023 15:47:46 +0900 Subject: [PATCH] fix: bind error fix --- src/class.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/class.lua b/src/class.lua index ae12b0d..05b7f8c 100644 --- a/src/class.lua +++ b/src/class.lua @@ -279,7 +279,7 @@ function module.init(shared) local binding = {} -- set property for index,value in pairs(prop) do - if bind() then + if bind(index) then binding[index] = value elseif type(index) ~= "number" then ProcessQuadProperty(processedProperty,iprop,holder,item,ClassName,index,value)