exception fix
This commit is contained in:
committed by
Steffen Schröder
parent
cf12c8af43
commit
2db2c88554
@ -192,8 +192,9 @@ class PlayerActions {
|
||||
try {
|
||||
$this->maniaControl->client->spectatorReleasePlayerSlot($target->login);
|
||||
} catch(Exception $e) {
|
||||
$this->maniaControl->chat->sendException($e, $admin->login);
|
||||
return;
|
||||
if($e->getMessage() != "The player is not a spectator"){
|
||||
throw $e;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user