Skip to content

Commit

Permalink
Catch package's new NS
Browse files Browse the repository at this point in the history
  • Loading branch information
Nadyita committed Feb 20, 2024
1 parent cc9d2b1 commit 6501b38
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ $socket = connect("chat.d1.funcom.com:7105");
$client = new \AO\BasicClient(
$logger,
new \AO\Connection($logger, $socket, $socket);
\AO\Package\Parser::createDefault($logger)
\AO\Parser::createDefault($logger)
);
$client->login(username: "Myuser", password: "Mypassword", character: "Mychar");
while (($package = $client->read()) !== null) {
Expand Down

0 comments on commit 6501b38

Please sign in to comment.