[Bug]: Player:HasTier(Tier, Pieces) is broken.
jrubimf opened this issue ยท 1 comments
What version of HeroLib are you using?
10.1.7.03
What is the issue?
the function Player:HasTier, located in Equipment.lua is checking for the:
Cache.Persistent.Player.Class[3].
That's populated by:
Class = { UnitClassBase("player") },
UnitClassBase only returns have 2 returns.
Cache.Persistent.Player.Class is populated by UnitClass(), not UnitClassBase(), as seen here:
Line 31 in 2533741