dedi bugfix
This commit is contained in:
parent
1f589e9e93
commit
671f057ccc
@ -197,6 +197,11 @@ class Dedimania implements CallbackListener, TimerListener, Plugin {
|
||||
} else if ($index <= 0) {
|
||||
$responseData = $methodResponse[0];
|
||||
$this->dedimaniaData->addPlayer(new DedimaniaPlayer($responseData));
|
||||
|
||||
//Fetch records if he is the first who joined the server
|
||||
if (count($this->maniaControl->playerManager->getPlayers()) == 1) {
|
||||
$this->fetchDedimaniaRecords(true);
|
||||
}
|
||||
}
|
||||
}
|
||||
} else {
|
||||
|
Loading…
Reference in New Issue
Block a user