From b2cfe40d8b28f954a489c22cc029241e458ce036 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, 21 Mar 2019 10:21:48 +0800 Subject: =?UTF-8?q?=E4=BF=AE=E6=AD=A3=E4=B8=80=E4=B8=AA=E6=8A=A5=E9=94=99?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- server/src/vm/multi.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'server/src/vm') diff --git a/server/src/vm/multi.lua b/server/src/vm/multi.lua index 9208656b..bf797f3f 100644 --- a/server/src/vm/multi.lua +++ b/server/src/vm/multi.lua @@ -7,7 +7,7 @@ mt.type = 'multi' mt.len = 0 function mt:push(value, isLast) - if value.type == 'list' then + if value and value.type == 'list' then if isLast then for _, v in ipairs(value) do self.len = self.len + 1 -- cgit v1.2.3