mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-05-17 11:18:52 +00:00
Fixed invalid array when a player has been kicked
This commit is contained in:
parent
5f3829692d
commit
d299e39649
@ -219,6 +219,9 @@ class Player{
|
||||
"z" => $Z,
|
||||
"data" => $this->level->getOrderedChunk($X, $Z, $Yndex),
|
||||
));
|
||||
if($cnt === false){
|
||||
return false;
|
||||
}
|
||||
$this->chunkCount = array();
|
||||
foreach($cnt as $i => $count){
|
||||
$this->chunkCount[$count] = true;
|
||||
|
Loading…
x
Reference in New Issue
Block a user