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