From 6ab8edfd7c02950802a8f67d6f52f9a05f64080a Mon Sep 17 00:00:00 2001 From: royaljacquesytb <63215754+royaljacques@users.noreply.github.com> Date: Tue, 3 Oct 2023 11:13:45 +0200 Subject: [PATCH] patch poggit lint error --- src/royal/noChatConsole/Main.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/royal/noChatConsole/Main.php b/src/royal/noChatConsole/Main.php index 5172226..a858be1 100644 --- a/src/royal/noChatConsole/Main.php +++ b/src/royal/noChatConsole/Main.php @@ -21,7 +21,7 @@ protected function onEnable(): void public function onChat(PlayerChatEvent $event): void { foreach ($this->getServer()->getOnlinePlayers() as $player) { - $player->sendMessage($event->getFormatter()->format($event->getPlayer()->getDisplayName(), $event->getMessage()), $event->getRecipients()); + $player->sendMessage($event->getFormatter()->format($event->getPlayer()->getDisplayName(), $event->getMessage())); } if ($this->config->get("active_logs")) {