mirror of
https://github.com/brues-code/pfUI.git
synced 2026-10-03 12:10:01 +00:00
castbar: ignore empty or invalid unitstr
This commit is contained in:
+1
-1
@@ -83,7 +83,7 @@ pfUI:RegisterModule("castbar", "vanilla:tbc", function ()
|
||||
end
|
||||
|
||||
local channel = nil
|
||||
local query = this.unitstr and UnitName(this.unitstr) or this.unitname
|
||||
local query = this.unitstr ~= "" and this.unitstr or this.unitname
|
||||
if not query then return end
|
||||
|
||||
-- transform all non player unitstrings to unit guids
|
||||
|
||||
Reference in New Issue
Block a user