small stability fix

This commit is contained in:
kremsy 2017-05-13 23:42:20 +02:00
parent 677f278e53
commit af10e2c530

View File

@ -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();