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)"
|
local actionTmpl = "Pet Button %d (%s)"
|
||||||
function PetButtonPrototype:GetActionName()
|
function PetButtonPrototype:GetActionName()
|
||||||
local id = self:GetID()
|
local id = self:GetID()
|
||||||
return format(actionTmpl, id, (GetPetActionInfo(id)))
|
return format(actionTmpl, id, (GetPetActionInfo(id)) or "empty")
|
||||||
end
|
end
|
||||||
|
|
||||||
function PetButtonPrototype:ClearSetPoint(...)
|
function PetButtonPrototype:ClearSetPoint(...)
|
||||||
|
|||||||
Reference in New Issue
Block a user