improved sendChat
This commit is contained in:
parent
6659556f6b
commit
e9cb455933
@ -79,7 +79,7 @@ class Chat {
|
|||||||
$this->maniaControl->client->chatSendServerMessage($chatMessage);
|
$this->maniaControl->client->chatSendServerMessage($chatMessage);
|
||||||
} else {
|
} else {
|
||||||
$chatMessage = '$<$z$ff0' . $this->getPrefix($prefix) . $message . '$>';
|
$chatMessage = '$<$z$ff0' . $this->getPrefix($prefix) . $message . '$>';
|
||||||
if ($login instanceof Player) {
|
if (is_object($login) && property_exists($login, 'login')) {
|
||||||
$login = $login->login;
|
$login = $login->login;
|
||||||
}
|
}
|
||||||
try{
|
try{
|
||||||
|
Loading…
Reference in New Issue
Block a user