mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-06-13 15:05:33 +00:00
Remove redundant return values
why am I still up at 6AM
This commit is contained in:
parent
363b24c663
commit
a99d7f93d9
@ -199,12 +199,8 @@ class Anvil extends McRegion{
|
|||||||
}
|
}
|
||||||
|
|
||||||
protected function loadRegion($x, $z){
|
protected function loadRegion($x, $z){
|
||||||
if(isset($this->regions[$index = Level::chunkHash($x, $z)])){
|
if(!isset($this->regions[$index = Level::chunkHash($x, $z)])){
|
||||||
return true;
|
|
||||||
}
|
|
||||||
|
|
||||||
$this->regions[$index] = new RegionLoader($this, $x, $z);
|
$this->regions[$index] = new RegionLoader($this, $x, $z);
|
||||||
|
}
|
||||||
return true;
|
|
||||||
}
|
}
|
||||||
}
|
}
|
Loading…
x
Reference in New Issue
Block a user