mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-09-08 10:53:05 +00:00
Generator works!
This commit is contained in:
@ -295,13 +295,9 @@ class McRegion extends BaseLevelProvider{
|
||||
}
|
||||
|
||||
protected function loadRegion($x, $z){
|
||||
if(isset($this->regions[$index = Level::chunkHash($x, $z)])){
|
||||
return true;
|
||||
if(!isset($this->regions[$index = Level::chunkHash($x, $z)])){
|
||||
$this->regions[$index] = new RegionLoader($this, $x, $z);
|
||||
}
|
||||
|
||||
$this->regions[$index] = new RegionLoader($this, $x, $z);
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
public function close(){
|
||||
|
Reference in New Issue
Block a user