Bagnon

Bagnon

127M Downloads

Wrong gender of saved character icons in WotLK

wish-ez opened this issue ยท 1 comments

commented

Running Software (issues missing this information will be deleted):

  • Addon version: 10.1.4
  • Server patch: 3.4.2.50664

Have you read the changelog? (please don't waste our time)
+

Describe the bug
At some point the bank inventory icons of other (not current) female characters became male.

To Reproduce
Steps to reproduce the behaviour:

  1. Open bags
  2. Right click on bag icon
  3. Take a look at the list of available account characters
  4. Note that they are all male

Expected behaviour
Icons should match the gender of the character, probably

Screenshots
Nah

Error Logs
No logs

Additional context

commented

Possible quick fix:

  • Open C:\Program Files (x86)\World of Warcraft\_classic_\Interface\AddOns\BagBrother\core\api\owners.lua
  • Change line 142 return format('raceicon-%s-%s', RACE_TABLE[race] or race, self.gender == 3 and 'female' or 'male') to return format('raceicon-%s-%s', RACE_TABLE[race] or race, self.sex == 3 and 'female' or 'male') (change self.gender to self.sex, in short)
  • Save file and reload the game