From 2df75a898385daab57ac276684ee494b09fa71e4 Mon Sep 17 00:00:00 2001 From: Andrew Scott Date: Fri, 6 Dec 2019 19:57:33 -0800 Subject: [PATCH] Fix incorrect return type of `[HappyText]` --- Categories/Status.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Categories/Status.lua b/Categories/Status.lua index 86fef7e..c7456cb 100644 --- a/Categories/Status.lua +++ b/Categories/Status.lua @@ -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),