From de63af45054e742806f6f4cc78e2819b12c364e6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9C=80=E8=90=8C=E5=B0=8F=E6=B1=90?= Date: Mon, 7 Jan 2019 10:19:24 +0800 Subject: =?UTF-8?q?=E8=B7=B3=E8=BF=87=E5=8A=A8=E4=BD=9C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- server/src/core/vm.lua | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'server/src/core') diff --git a/server/src/core/vm.lua b/server/src/core/vm.lua index 36a8f21b..a17727d6 100644 --- a/server/src/core/vm.lua +++ b/server/src/core/vm.lua @@ -1383,6 +1383,10 @@ function mt:doLocalFunction(action) end function mt:doAction(action) + if not action then + -- Skip + return + end local tp = action.type if tp == 'do' then self:doDo(action) -- cgit v1.2.3