diff options
Diffstat (limited to 'server/src/core/hover')
-rw-r--r-- | server/src/core/hover/hover.lua | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/server/src/core/hover/hover.lua b/server/src/core/hover/hover.lua index 058ddd4a..550129a4 100644 --- a/server/src/core/hover/hover.lua +++ b/server/src/core/hover/hover.lua @@ -127,13 +127,11 @@ end local function getValueHover(source, name, value, lib) local valueType = value:getType() - local class + local class = findClass(value) - if not lib then - class = findClass(value) - if class then - valueType = class - end + if class then + valueType = class + lib = nil end if not OriginTypes[valueType] then |