summaryrefslogtreecommitdiff
path: root/server
diff options
context:
space:
mode:
Diffstat (limited to 'server')
-rw-r--r--server/src/vm/multi.lua2
1 files changed, 1 insertions, 1 deletions
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