mirror of
https://github.com/brues-code/pfUI.git
synced 2026-09-22 15:46:56 +00:00
focus: add pfcastfocus as fallback
This commit is contained in:
+1
-1
@@ -20,7 +20,7 @@ function SlashCmdList.PFCLEARFOCUS(msg)
|
||||
end
|
||||
end
|
||||
|
||||
SLASH_PFCASTFOCUS1 = '/castfocus'
|
||||
SLASH_PFCASTFOCUS1, SLASH_PFCASTFOCUS2 = '/castfocus', '/pfcastfocus'
|
||||
function SlashCmdList.PFCASTFOCUS(msg)
|
||||
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)
|
||||
|
||||
Reference in New Issue
Block a user