@@ -41,13 +41,11 @@ |
||
| 41 | 41 | * @param $command |
| 42 | 42 | * @param string $permission |
| 43 | 43 | * @param array $aliases |
| 44 | - * @param ChatNotification $functionName |
|
| 45 | 44 | * @param AdminGroups $adminGroupsHelper |
| 46 | 45 | * @param Connection $connection |
| 47 | 46 | * @param ChatNotification $chatNotification |
| 48 | 47 | * @param PlayerStorage $playerStorage |
| 49 | 48 | * @param LoggerInterface $logger |
| 50 | - * @param Time $timeHelper |
|
| 51 | 49 | * @param MapStorage $mapStorage |
| 52 | 50 | */ |
| 53 | 51 | public function __construct( |
@@ -86,7 +86,7 @@ |
||
| 86 | 86 | $maps[] = $map->fileName; |
| 87 | 87 | $allMaps[] = $map->fileName; |
| 88 | 88 | if (count($maps) > 250) { |
| 89 | - $this->connection->removeMapList($maps,true); |
|
| 89 | + $this->connection->removeMapList($maps, true); |
|
| 90 | 90 | $maps = []; |
| 91 | 91 | } |
| 92 | 92 | } |
@@ -138,7 +138,7 @@ |
||
| 138 | 138 | $nick = trim($player->getNickName()); |
| 139 | 139 | $nick = str_ireplace('$w', '', $nick); |
| 140 | 140 | $nick = str_ireplace('$z', '$z$s', $nick); |
| 141 | - $replacements = [":yes:" => "",":no:" => "", ":happy:" => "", ":sad:" => "", ":heart:" => ""]; |
|
| 141 | + $replacements = [":yes:" => "", ":no:" => "", ":happy:" => "", ":sad:" => "", ":heart:" => ""]; |
|
| 142 | 142 | // fix for chat... |
| 143 | 143 | $nick = str_replace(['$<', '$>'], '', $nick); |
| 144 | 144 | $text = str_replace(['$<', '$>'], '', $text); |