From d7f40f75d27f62d39c57a6b9c1decb560ed9ea26 Mon Sep 17 00:00:00 2001 From: "Dylan K. Taylor" Date: Wed, 18 Jan 2023 20:45:49 +0000 Subject: [PATCH] PlayerPreLoginEvent: fixed documentation errors --- src/event/player/PlayerPreLoginEvent.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/event/player/PlayerPreLoginEvent.php b/src/event/player/PlayerPreLoginEvent.php index 4f266d661..0f9ddd712 100644 --- a/src/event/player/PlayerPreLoginEvent.php +++ b/src/event/player/PlayerPreLoginEvent.php @@ -69,8 +69,8 @@ class PlayerPreLoginEvent extends Event implements Cancellable{ /** * Returns an object containing self-proclaimed information about the connecting player. - * WARNING: THE PLAYER IS NOT VERIFIED DURING THIS EVENT. At this point, it's unknown if the player is real or a - * hacker. + * WARNING: THE PLAYER IS NOT VERIFIED DURING THIS EVENT. At this point, this could be a hacker posing as another + * player. */ public function getPlayerInfo() : PlayerInfo{ return $this->playerInfo; @@ -109,7 +109,7 @@ class PlayerPreLoginEvent extends Event implements Cancellable{ } /** - * Sets a reason to disallow the player to continue continue authenticating, with a message. + * Sets a reason to disallow the player to continue authenticating, with a message. * This can also be used to change kick messages for already-set flags. */ public function setKickReason(int $flag, string $message) : void{