mirror of
https://github.com/brues-code/pfUI.git
synced 2026-10-25 05:20:49 +00:00
focus: add pfcastfocus as fallback
This commit is contained in:
+1
-1
@@ -20,7 +20,7 @@ function SlashCmdList.PFCLEARFOCUS(msg)
|
|||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
SLASH_PFCASTFOCUS1 = '/castfocus'
|
SLASH_PFCASTFOCUS1, SLASH_PFCASTFOCUS2 = '/castfocus', '/pfcastfocus'
|
||||||
function SlashCmdList.PFCASTFOCUS(msg)
|
function SlashCmdList.PFCASTFOCUS(msg)
|
||||||
if not pfUI.uf.focus or not pfUI.uf.focus:IsShown() or not pfUI.uf.focus.unitname then
|
if not pfUI.uf.focus or not pfUI.uf.focus:IsShown() or not pfUI.uf.focus.unitname then
|
||||||
UIErrorsFrame:AddMessage(SPELL_FAILED_BAD_TARGETS, 1, 0, 0)
|
UIErrorsFrame:AddMessage(SPELL_FAILED_BAD_TARGETS, 1, 0, 0)
|
||||||
|
|||||||
Reference in New Issue
Block a user