Remove redundant return values

why am I still up at 6AM
This commit is contained in:
Dylan K. Taylor 2016-12-22 06:24:38 +00:00
parent 363b24c663
commit a99d7f93d9

View File

@ -199,12 +199,8 @@ class Anvil extends McRegion{
}
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;
}
}