mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-09-04 08:56:15 +00:00
Make Normal->pickBiome() private
This commit is contained in:
@ -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;
|
||||
|
Reference in New Issue
Block a user