From d1274f277907b4b7e45dd018f5617708ea37636d Mon Sep 17 00:00:00 2001 From: sumneko Date: Sun, 28 Apr 2019 20:20:41 +0800 Subject: =?UTF-8?q?=E6=A3=80=E6=9F=A5=E9=87=8D=E5=A4=8Dfield?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- server/src/vm/value.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'server/src/vm') diff --git a/server/src/vm/value.lua b/server/src/vm/value.lua index e924f642..43f278c0 100644 --- a/server/src/vm/value.lua +++ b/server/src/vm/value.lua @@ -549,7 +549,7 @@ function mt:setEmmy(emmy) emmyClass:eachField(function (field) local name = field:getName() local value = field:bindValue() - self:setChild(name, value, field:getSource()[2]) + self:setChild(name, value, field:getSource()) end) elseif emmy.type == 'emmy.type' then ---@type EmmyType -- cgit v1.2.3