mirror of
https://github.com/brues-code/pfUI.git
synced 2026-10-07 14:10:01 +00:00
rangecheck: abort early if no action is detected
This commit is contained in:
@@ -135,6 +135,7 @@ pfUI:RegisterModule("rangecheck", function ()
|
||||
end
|
||||
|
||||
function pfUI.rangecheck:UnitInSpellRange(unit)
|
||||
if not pfUI.rangecheck.slot then return nil end
|
||||
local unit = pfUI.rangecheck:GetRealUnit(unit)
|
||||
|
||||
if unitdata[unit] and unitdata[unit] == 1 then
|
||||
|
||||
Reference in New Issue
Block a user