diff options
-rw-r--r-- | script/core/hover/hover.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/script/core/hover/hover.lua b/script/core/hover/hover.lua index 5140edb2..76505ca4 100644 --- a/script/core/hover/hover.lua +++ b/script/core/hover/hover.lua @@ -370,7 +370,7 @@ local function hoverAsNumber(source) return nil end local raw = source[2] - if not raw:find '[^%-%d%.]' then + if not raw or not raw:find '[^%-%d%.]' then return nil end return { |