shirsig / unitscan

Lightweight npcscan clone for classic (1.13). IMPORTANT: The folder name must be "unitscan". IMPORTANT: For vanilla (1.12) use this instead: https://github.com/shirsig/unitscan-vanilla
https://www.curseforge.com/wow/addons/unitscan
30 stars 26 forks source link

'UNKNOWN()' #10

Closed Monteo closed 5 years ago

Monteo commented 5 years ago

1x [ADDON_ACTION_FORBIDDEN] Модификация 'unitscan' пыталась вызвать защищенную функцию 'UNKNOWN()'. !BugGrabber\BugGrabber.lua:519: in function <!BugGrabber\BugGrabber.lua:519>

C: in function TargetUnit' unitscan\unitscan.lua:49: in functiontarget' unitscan\unitscan.lua:39: in function check_for_targets' unitscan\unitscan.lua:311: in functionUPDATE' unitscan\unitscan.lua:2: in function <unitscan\unitscan.lua:2>

shirsig commented 5 years ago

That's intended. This error is how it detects units. The function only throws the error when the unit was there. Afaik the only way to do it in classic.