mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-04-22 00:33:59 +00:00
Make Normal->pickBiome() private
This commit is contained in:
parent
e3c97d7d5e
commit
45f940681a
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user