summaryrefslogtreecommitdiff
path: root/script/core/hover/hover.lua
diff options
context:
space:
mode:
Diffstat (limited to 'script/core/hover/hover.lua')
-rw-r--r--script/core/hover/hover.lua3
1 files changed, 3 insertions, 0 deletions
diff --git a/script/core/hover/hover.lua b/script/core/hover/hover.lua
index 8bc6f506..4270f418 100644
--- a/script/core/hover/hover.lua
+++ b/script/core/hover/hover.lua
@@ -358,6 +358,9 @@ local function formatNumber(n)
end
local function hoverAsNumber(source)
+ if not config.config.hover.viewNumber then
+ return nil
+ end
local num = source[1]
if type(num) ~= 'number' then
return nil