From 20b6c8a9ed8316ad92e9fc64d9bb76fb74cff564 Mon Sep 17 00:00:00 2001 From: Hendrik Leppkes Date: Tue, 8 Apr 2008 18:11:08 +0000 Subject: [PATCH] fix bug in keybinding mode with empty pet buttons --- PetBar.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/PetBar.lua b/PetBar.lua index 5b8480e..9b8bec7 100644 --- a/PetBar.lua +++ b/PetBar.lua @@ -305,7 +305,7 @@ end local actionTmpl = "Pet Button %d (%s)" function PetButtonPrototype:GetActionName() local id = self:GetID() - return format(actionTmpl, id, (GetPetActionInfo(id))) + return format(actionTmpl, id, (GetPetActionInfo(id)) or "empty") end function PetButtonPrototype:ClearSetPoint(...)