Skip to content

Commit f3a49aa

Browse files
committed
Fix an error when importing an icyveins link with pvp talents selected
1 parent 0030663 commit f3a49aa

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

TalentTreeViewer_TWW/IcyVeinsImport.lua

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,8 @@ local apexTalentLevels = { 81, 84, 87, 90 };
2828
--- @return boolean
2929
--- @public
3030
function IcyVeinsImport:IsTalentUrl(text)
31-
-- example URL https://www.icy-veins.com/wow/midnight-talent-calculator#seg1-seg2-seg3-seg4-seg5
32-
return not not text:match('^https?://www%.icy%-veins%.com/wow/midnight%-talent%-calculator%#[^-]*%-[^-]*%-[^-]*%-[^-]*%-[^-]*%-?$');
31+
-- example URL https://www.icy-veins.com/wow/midnight-talent-calculator#seg1-seg2-seg3-seg4-seg5-seg6
32+
return not not text:match('^https?://www%.icy%-veins%.com/wow/midnight%-talent%-calculator%#[^-]*%-[^-]*%-[^-]*%-[^-]*%-[^-]*%-?[^-]*$');
3333
end
3434

3535
--- @private

0 commit comments

Comments
 (0)