fix bug in keybinding mode with empty pet buttons
This commit is contained in:
+1
-1
@@ -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(...)
|
||||
|
||||
Reference in New Issue
Block a user