summaryrefslogtreecommitdiff
path: root/server/src
diff options
context:
space:
mode:
Diffstat (limited to 'server/src')
-rw-r--r--server/src/core/hover.lua4
1 files changed, 4 insertions, 0 deletions
diff --git a/server/src/core/hover.lua b/server/src/core/hover.lua
index d0886e7c..9a2500f0 100644
--- a/server/src/core/hover.lua
+++ b/server/src/core/hover.lua
@@ -271,6 +271,10 @@ local function getValueHover(name, valueType, result, lib)
end
end
+ if type(valueType) == 'table' then
+ valueType = valueType[1]
+ end
+
if not OriginTypes[valueType] then
valueType = '*' .. valueType
end