fix
This commit is contained in:
parent
7c7775e041
commit
ead8b7bbc8
@ -372,7 +372,7 @@ class QueuePlugin implements CallbackListener, ManialinkPageAnswerListener, Time
|
|||||||
}
|
}
|
||||||
|
|
||||||
try {
|
try {
|
||||||
if ($smallestTeam != -1) {
|
if ($smallestTeam) {
|
||||||
$this->maniaControl->client->forcePlayerTeam($player->login, $smallestTeam);
|
$this->maniaControl->client->forcePlayerTeam($player->login, $smallestTeam);
|
||||||
}
|
}
|
||||||
} catch (Exception $e) {
|
} catch (Exception $e) {
|
||||||
|
Loading…
Reference in New Issue
Block a user