Jaliborc / PetTracker

Tracks pets, alerts for upgrades and helps you in pet battles.
49 stars 26 forks source link

11.0.0 version error #392

Open Mike160770 opened 3 months ago

Mike160770 commented 3 months ago

1x bad argument #1 to '?' (Usage: SetPortraitToTexture(texture, asset)) string "=[C]": in function SetPortraitToTexture' [string "@Interface/AddOns/PetTracker/addons/battle/switcher.lua"]:21: in function?' [string "@Interface/AddOns/PetTracker/libs/WildAddon-1.0-2/WildAddon-1.0.lua"]:20: in function <...dOns/PetTracker/libs/WildAddon-1.0/WildAddon-1.0.lua:18> [string "@Interface/AddOns/PetTracker/libs/WildAddon-1.0-2/WildAddon-1.0.lua"]:56: in function <...dOns/PetTracker/libs/WildAddon-1.0/WildAddon-1.0.lua:53>

[string "@Interface/AddOns/Ace3/CallbackHandler-1.0-8/CallbackHandler-1.0.lua"]:19: in function <...Ons/Ace3/CallbackHandler-1.0/CallbackHandler-1.0.lua:15> [string "@Interface/AddOns/Ace3/CallbackHandler-1.0-8/CallbackHandler-1.0.lua"]:54: in function `Fire' [string "@Interface/AddOns/Ace3/AceEvent-3.0-4/AceEvent-3.0.lua"]:120: in function <Interface/AddOns/Ace3/AceEvent-3.0/AceEvent-3.0.lua:119>

string "=[C]": in function LoadAddOn' [string "@Interface/AddOns/PetTracker/addons/main/main.lua"]:49: in function?' [string "@Interface/AddOns/Ace3/CallbackHandler-1.0-8/CallbackHandler-1.0.lua"]:109: in function <...Ons/Ace3/CallbackHandler-1.0/CallbackHandler-1.0.lua:109>

[string "@Interface/AddOns/Ace3/CallbackHandler-1.0-8/CallbackHandler-1.0.lua"]:19: in function <...Ons/Ace3/CallbackHandler-1.0/CallbackHandler-1.0.lua:15> [string "@Interface/AddOns/Ace3/CallbackHandler-1.0-8/CallbackHandler-1.0.lua"]:54: in function `Fire' [string "@Interface/AddOns/Ace3/AceEvent-3.0-4/AceEvent-3.0.lua"]:120: in function <Interface/AddOns/Ace3/AceEvent-3.0/AceEvent-3.0.lua:119>

Locals: (*temporary) = "bad argument #1 to '?' (Usage: SetPortraitToTexture(texture, asset))"