Make Normal->pickBiome() private

This commit is contained in:
Dylan K. Taylor 2018-06-07 20:21:26 +01:00
parent e3c97d7d5e
commit 45f940681a

View File

@ -87,7 +87,7 @@ class Normal extends Generator{
return [];
}
public function pickBiome(int $x, int $z){
private function pickBiome(int $x, int $z){
$hash = $x * 2345803 ^ $z * 9236449 ^ $this->level->getSeed();
$hash *= $hash + 223;
$xNoise = $hash >> 20 & 3;