@@ -500,7 +500,7 @@ |
||
| 500 | 500 | } |
| 501 | 501 | |
| 502 | 502 | /** |
| 503 | - * @param \Maniaplanet\DedicatedServer\Structures\Player|array $data |
|
| 503 | + * @param \Maniaplanet\DedicatedServer\Structures\PlayerInfo $data |
|
| 504 | 504 | * |
| 505 | 505 | * @return $this |
| 506 | 506 | */ |
@@ -55,7 +55,6 @@ |
||
| 55 | 55 | /** |
| 56 | 56 | * Initialize eXpansion. |
| 57 | 57 | * |
| 58 | - * @param OutputInterface $output |
|
| 59 | 58 | * @return $this |
| 60 | 59 | */ |
| 61 | 60 | public function init(ConsoleOutputInterface $console) |
@@ -42,7 +42,7 @@ discard block |
||
| 42 | 42 | */ |
| 43 | 43 | public function onPlayerConnect(Player $player) |
| 44 | 44 | { |
| 45 | - $msg = '$fffHello, ' . $player->getNickName() . ' $n$fff($888' . $player->getLogin() . '$fff)'; |
|
| 45 | + $msg = '$fffHello, '.$player->getNickName().' $n$fff($888'.$player->getLogin().'$fff)'; |
|
| 46 | 46 | if ($this->enabled) { |
| 47 | 47 | $this->connection->chatSendServerMessage($msg); |
| 48 | 48 | } |
@@ -53,7 +53,7 @@ discard block |
||
| 53 | 53 | */ |
| 54 | 54 | public function onPlayerDisconnect(Player $player, $disconnectionReason) |
| 55 | 55 | { |
| 56 | - $msg = '$fffSee you, ' . $player->getNickName() . ' $n$fff($888' . $player->getLogin() . '$fff)'; |
|
| 56 | + $msg = '$fffSee you, '.$player->getNickName().' $n$fff($888'.$player->getLogin().'$fff)'; |
|
| 57 | 57 | if ($this->enabled) { |
| 58 | 58 | $this->connection->chatSendServerMessage($msg); |
| 59 | 59 | } |