Skip to content

Commit

Permalink
patch poggit lint error
Browse files Browse the repository at this point in the history
  • Loading branch information
royaljacques authored Oct 3, 2023
1 parent 2d13251 commit 6ab8edf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/royal/noChatConsole/Main.php
Original file line number Diff line number Diff line change
Expand Up @@ -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")) {
Expand Down

0 comments on commit 6ab8edf

Please sign in to comment.