small fix
This commit is contained in:
1 parent
15ad975dee
commit
614627ef24
1 file changed
+1
-1
@@ -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);
|
||||||
|
|||||||
Reference in new issue
Block a user