Fix incorrect return type of [HappyText]

This commit is contained in:
Andrew Scott
2019-12-06 19:57:33 -08:00
parent 68ef16e6b7
commit 2df75a8983

View File

@ -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),