mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-06-07 12:18:46 +00:00
Make Normal->pickBiome() private
This commit is contained in:
parent
e3c97d7d5e
commit
45f940681a
@ -87,7 +87,7 @@ class Normal extends Generator{
|
|||||||
return [];
|
return [];
|
||||||
}
|
}
|
||||||
|
|
||||||
public function pickBiome(int $x, int $z){
|
private function pickBiome(int $x, int $z){
|
||||||
$hash = $x * 2345803 ^ $z * 9236449 ^ $this->level->getSeed();
|
$hash = $x * 2345803 ^ $z * 9236449 ^ $this->level->getSeed();
|
||||||
$hash *= $hash + 223;
|
$hash *= $hash + 223;
|
||||||
$xNoise = $hash >> 20 & 3;
|
$xNoise = $hash >> 20 & 3;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user