small stability fix
This commit is contained in:
parent
677f278e53
commit
af10e2c530
@ -386,6 +386,10 @@ class LocalRecordsPlugin implements CallbackListener, CommandListener, TimerList
|
||||
|
||||
$player = $structure->getPlayer();
|
||||
|
||||
if(!$player){ //TODO verify why this can happen
|
||||
return;
|
||||
}
|
||||
|
||||
$checkpointsString = $this->getCheckpoints($player->login);
|
||||
$this->checkpoints[$player->login] = array();
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user