summaryrefslogtreecommitdiff
path: root/script
diff options
context:
space:
mode:
Diffstat (limited to 'script')
-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