modified the way characters are looked up in the database versus esi

This commit is contained in:
2019-12-11 23:44:24 -06:00
parent e6173a7f17
commit 21a85add82
5 changed files with 72 additions and 17 deletions

View File

@@ -257,7 +257,7 @@ class MoonsAdminController extends Controller
}
//Let's find the corporation and alliance information to ascertain whethery they are in Warped Intentions or another Legacy Alliance
$char = $lookup->LookupCharacter($contact, null);
$char = $lookup->GetCharacterInfo($contact);
$corp = $lookup->LookupCorporation($char->character_id, null);
$allianceId = $corp->alliance_id;