Mercurial > wow > pvpscan
changeset 10:2218520e3e64
- small fixes.
| author | Tercio |
|---|---|
| date | Mon, 06 Jun 2016 20:24:26 -0300 |
| parents | f2a55f2d45c8 |
| children | 6b79364e9347 |
| files | PVPScan.lua |
| diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/PVPScan.lua Fri Feb 12 14:11:13 2016 -0200 +++ b/PVPScan.lua Mon Jun 06 20:24:26 2016 -0300 @@ -448,7 +448,7 @@ function PVPScan:CheckNonCombatSpotBars() for i = 1, PVPScan.db.profile.SpotBarAmount do local SpotObject = PVPScan.SpotBars [i] - if (SpotObject.InUse and (SpotObject.NonTargetFrame:IsShown() or SpotObject.NeedUpdate)) then + if (SpotObject and SpotObject.InUse and (SpotObject.NonTargetFrame:IsShown() or SpotObject.NeedUpdate)) then PVPScan:UpdateBar (SpotObject, SpotObject.PlayerName, SpotObject.PlayerClass) end end @@ -666,7 +666,7 @@ --> misc function PVPScan:GuessClass (...) - local arg1, arg2, arg3, arg4 = select (1, ...) + local arg1 = select (1, ...) if (type (arg1) == "number") then local spellname = GetSpellInfo (arg1)
