mirror of
https://github.com/parnic/LibDogTag-Unit-3.0.git
synced 2025-06-16 21:41:53 -05:00
Fix incorrect return type of [HappyText]
This commit is contained in:
@ -473,7 +473,7 @@ DogTag:AddTag("Unit", "HappyText", {
|
||||
code = function()
|
||||
return _G["PET_HAPPINESS" .. (GetPetHappiness() or 0)]
|
||||
end,
|
||||
ret = "number",
|
||||
ret = "string;nil",
|
||||
events = petHappinessEvent,
|
||||
doc = L["Return a description of how happy your pet is"],
|
||||
example = ('[HappyText] => %q'):format(_G.PET_HAPPINESS3),
|
||||
|
Reference in New Issue
Block a user