From 5f1f86376b48bcb91a19477454b0d8f871582237 Mon Sep 17 00:00:00 2001 From: Wires77 Date: Thu, 30 Oct 2025 20:38:03 -0500 Subject: [PATCH] Fixes #9086: Tooltip was being passed multiple values, failing the font lookup (#9087) --- src/Classes/ItemsTab.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Classes/ItemsTab.lua b/src/Classes/ItemsTab.lua index 34244600..1bbf3b04 100644 --- a/src/Classes/ItemsTab.lua +++ b/src/Classes/ItemsTab.lua @@ -746,7 +746,7 @@ holding Shift will put it in the second.]]) tooltip:AddLine(14, maxLine) else local start = 1 - tooltip:AddLine(14, minLine:gsub("%d[%d%.]*", function(min) + tooltip:AddLine(14, (minLine:gsub("%d[%d%.]*", function(min) local s, e, max = maxLine:find("(%d[%d%.]*)", start) start = e + 1 if min == max then @@ -754,7 +754,7 @@ holding Shift will put it in the second.]]) else return "("..min.."-"..max..")" end - end)) + end))) end end tooltip:AddLine(16, "Level: "..minMod.level.." to "..maxMod.level)