Skip to content

Commit

Permalink
Only 1 ready event please
Browse files Browse the repository at this point in the history
  • Loading branch information
Nadyita committed Mar 7, 2024
1 parent 77d3c69 commit ed2bddd
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/Client/Basic.php
Original file line number Diff line number Diff line change
Expand Up @@ -422,6 +422,9 @@ protected function handleGroupLeft(In\GroupLeft $package): void {
}

protected function triggerOnReady(): void {
if ($this->isReady) {
return;
}
$this->isReady = true;
$this->logger?->notice("{charName} is now ready", [
"charName" => $this->loggedInChar,
Expand Down

0 comments on commit ed2bddd

Please sign in to comment.