From ed2bddd889d71ea51430505e6b95bfe7463335e2 Mon Sep 17 00:00:00 2001 From: Nadyita Date: Thu, 7 Mar 2024 09:44:18 +0100 Subject: [PATCH] Only 1 ready event please --- src/Client/Basic.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/Client/Basic.php b/src/Client/Basic.php index ea7064e..4ac73ec 100644 --- a/src/Client/Basic.php +++ b/src/Client/Basic.php @@ -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,