mirror of
https://github.com/parnic/LibDogTag-Unit-3.0.git
synced 2025-06-16 21:41:53 -05:00
Actually re-added support for pet happiness in Classic
Commit f54d8964
added incorrect logic that caused the tags to go away on Classic. The only change that should have stuck around from that commit was to use the proper unit event.
This commit is contained in:
@ -457,7 +457,7 @@ DogTag:AddTag("Unit", "IsFeignedDeath", {
|
||||
})
|
||||
|
||||
-- Parnic: pet happiness removed in 4.1
|
||||
if not wow_401 and not wow_classic then
|
||||
if not wow_401 then
|
||||
DogTag:AddTag("Unit", "HappyNum", {
|
||||
code = function()
|
||||
return GetPetHappiness() or 0
|
||||
@ -935,7 +935,7 @@ DogTag:AddTag("Unit", "StatusColor", {
|
||||
})
|
||||
|
||||
-- Parnic: pet happiness removed in 4.1
|
||||
if not wow_401 and not wow_classic then
|
||||
if not wow_401 then
|
||||
DogTag:AddTag("Unit", "HappyColor", {
|
||||
code = function(value)
|
||||
local x = GetPetHappiness()
|
||||
|
Reference in New Issue
Block a user