summaryrefslogtreecommitdiff
path: root/server/src/core
diff options
context:
space:
mode:
Diffstat (limited to 'server/src/core')
-rw-r--r--server/src/core/definition.lua3
1 files changed, 3 insertions, 0 deletions
diff --git a/server/src/core/definition.lua b/server/src/core/definition.lua
index c8b0d116..8680a29b 100644
--- a/server/src/core/definition.lua
+++ b/server/src/core/definition.lua
@@ -51,6 +51,9 @@ local function parseLocal(callback, vm, source)
end
local function parseValueByValue(callback, vm, source, value)
+ if not source then
+ return
+ end
local mark = { [vm] = true }
local list = {}
for _ = 1, 5 do