fixed bug
This commit is contained in:
committed by
Steffen Schröder
parent
317d6c506b
commit
b18e736c57
@ -352,6 +352,10 @@ class ChatMessagePlugin implements CommandListener, Plugin {
|
||||
$this->maniaControl->chat->sendChat($msg, null, false);
|
||||
|
||||
if ($this->maniaControl->settingManager->getSetting($this, self::SETTING_AFK_FORCE_SPEC)) {
|
||||
if($player->isSpectator){
|
||||
return;
|
||||
}
|
||||
|
||||
// force into spec
|
||||
try {
|
||||
$this->maniaControl->client->forceSpectator($player->login, 3);
|
||||
|
Reference in New Issue
Block a user