mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-05-13 01:09:44 +00:00
Fixed formatting of #2771
This commit is contained in:
parent
be20f61a93
commit
2cd757d80a
@ -189,7 +189,7 @@ class RegionLoader{
|
||||
$sectors = (int) ceil(($length + 4) / 4096);
|
||||
$index = self::getChunkOffset($x, $z);
|
||||
if($this->locationTable[$index][1] < $sectors){
|
||||
$this->locationTable[$index][0] = $this->lastSector+1;
|
||||
$this->locationTable[$index][0] = $this->lastSector + 1;
|
||||
$this->lastSector += $sectors; //The GC will clean this shift "later"
|
||||
}
|
||||
$this->locationTable[$index][1] = $sectors;
|
||||
@ -359,4 +359,4 @@ class RegionLoader{
|
||||
return $this->z;
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user