funkydude / BadBoy

A simple spam blocker & reporter for World of Warcraft.
26 stars 7 forks source link

bad argument #1 to 'CanReportPlayer' #116

Closed kgwium closed 5 years ago

kgwium commented 5 years ago
2x BadBoy\BadBoy-v8.2.3.lua:211: bad argument #1 to 'CanReportPlayer' (Usage: local canReport = C_ReportSystem.CanReportPlayer(playerLocation))
[C]: ?
BadBoy\BadBoy-v8.2.3.lua:211: in function <BadBoy\BadBoy.lua:208>
BadBoy\BadBoy-v8.2.3.lua:225: in function <BadBoy\BadBoy.lua:222>
[C]: in function `Show'
BadBoy\BadBoy-v8.2.3.lua:168: in function <BadBoy\BadBoy.lua:78>

Locals:
(*temporary) = <table> {
 IsBattleNetGUID = <function> defined @FrameXML\ObjectAPI\PlayerLocation.lua:67
 SetGUID = <function> defined @FrameXML\ObjectAPI\PlayerLocation.lua:47
 IsCommunityData = <function> defined @FrameXML\ObjectAPI\PlayerLocation.lua:133
 IsBattlefieldScoreIndex = <function> defined @FrameXML\ObjectAPI\PlayerLocation.lua:103
 SetUnit = <function> defined @FrameXML\ObjectAPI\PlayerLocation.lua:75
 IsGUID = <function> defined @FrameXML\ObjectAPI\PlayerLocation.lua:63
 chatLineID = 24
 IsChatLineID = <function> defined @FrameXML\ObjectAPI\PlayerLocation.lua:91
 Clear = <function> defined @FrameXML\ObjectAPI\PlayerLocation.lua:148
 IsValid = <function> defined @FrameXML\ObjectAPI\PlayerLocation.lua:51
 SetVoiceID = <function> defined @FrameXML\ObjectAPI\PlayerLocation.lua:111
 IsVoiceID = <function> defined @FrameXML\ObjectAPI\PlayerLocation.lua:117
 GetBattlefieldScoreIndex = <function> defined @FrameXML\ObjectAPI\PlayerLocation.lua:107
 IsUnit = <function> defined @FrameXML\ObjectAPI\PlayerLocation.lua:79
 SetCommunityInvitation = <function> defined @FrameXML\ObjectAPI\PlayerLocation.lua:137
 GetVoiceID = <function> defined @FrameXML\ObjectAPI\PlayerLocation.lua:121
 IsCommunityInvitation = <function> defined @FrameXML\ObjectAPI\PlayerLocation.lua:143
 GetChatLineID = <function> defined @FrameXML\ObjectAPI\PlayerLocation.lua:95
 ClearAndSetField = <function> defined @FrameXML\ObjectAPI\PlayerLocation.lua:162
 GetGUID = <function> defined @FrameXML\ObjectAPI\PlayerLocation.lua:71
 GetUnit = <function> defined @FrameXML\ObjectAPI\PlayerLocation.lua:83
 SetChatLineID = <function> defined @FrameXML\ObjectAPI\PlayerLocation.lua:87
 SetBattlefieldScoreIndex = <function> defined @FrameXML\ObjectAPI\PlayerLocation.lua:99
 SetCommunityData = <function> defined @FrameXML\ObjectAPI\PlayerLocation.lua:125
}
funkydude commented 5 years ago

Duplicate of #112