Advertisement
exarisback

MAfix

Jul 17th, 2019
103
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.32 KB | None | 0 0
  1. function MovAny:_AddDependents(l, f)
  2. if (MovAny:IsProtected(f) and InCombatLockdown()) or not f.GetPoint then
  3. return
  4. end
  5.  
  6. if pcall(function() f:GetPoint(1) end) then
  7. local _, relativeTo = f:GetPoint(1)
  8. if relativeTo and l[relativeTo] then
  9. l[f] = f
  10. end
  11.  
  12. end
  13. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement