mirror of
https://github.com/brues-code/pfUI.git
synced 2026-09-27 18:06:02 +00:00
focus: only match for exact unitnames
This commit is contained in:
+1
-1
@@ -37,7 +37,7 @@ function SlashCmdList.PFCASTFOCUS(msg)
|
||||
if pfUI.uf.focus.label and pfUI.uf.focus.id then
|
||||
TargetUnit(pfUI.uf.focus.label .. pfUI.uf.focus.id)
|
||||
else
|
||||
TargetByName(pfUI.uf.focus.unitname)
|
||||
TargetByName(pfUI.uf.focus.unitname, true)
|
||||
end
|
||||
|
||||
if strlower(UnitName("target")) ~= strlower(pfUI.uf.focus.unitname) then
|
||||
|
||||
Reference in New Issue
Block a user