From c8175c13c19cb6be4d2690d0a8fde6f04210ba51 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9C=80=E8=90=8C=E5=B0=8F=E6=B1=90?= Date: Thu, 17 Oct 2019 19:30:38 +0800 Subject: =?UTF-8?q?=E6=95=B4=E7=90=86=E4=BB=A3=E7=A0=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- server-beta/src/core/method.lua | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) (limited to 'server-beta/src/core/method.lua') diff --git a/server-beta/src/core/method.lua b/server-beta/src/core/method.lua index c8ea61e1..a5005587 100644 --- a/server-beta/src/core/method.lua +++ b/server-beta/src/core/method.lua @@ -27,12 +27,7 @@ function m:field(source, key, callback) end function m:value(source, callback) - local parent = source.parent - if parent.type == 'setmethod' then - if parent.value then - self:eachValue(parent.value, callback) - end - end + self:eachValue(source.parent, callback) end return m -- cgit v1.2.3