small fix
This commit is contained in:
parent
15ad975dee
commit
614627ef24
@ -79,7 +79,7 @@ class ChatMessagePlugin implements CommandListener, Plugin {
|
|||||||
* @param Player $player
|
* @param Player $player
|
||||||
*/
|
*/
|
||||||
public function chat_me(array $chat, Player $player) {
|
public function chat_me(array $chat, Player $player) {
|
||||||
$message = substr($chat[1][2], 3);
|
$message = substr($chat[1][2], 4);
|
||||||
|
|
||||||
$msg = '$<' . $player->nickname . '$>$s$i$fa0 ' . $message;
|
$msg = '$<' . $player->nickname . '$>$s$i$fa0 ' . $message;
|
||||||
$this->maniaControl->chat->sendChat($msg, null, false);
|
$this->maniaControl->chat->sendChat($msg, null, false);
|
||||||
|
Loading…
Reference in New Issue
Block a user