mirror of
https://github.com/oldminecraftcommunity/NostalgiaCore.git
synced 2026-11-21 12:09:43 +00:00
removed debug spam
This commit is contained in:
parent
457eee1157
commit
bc979c2853
2 changed files with 3 additions and 4 deletions
|
|
@ -90,8 +90,8 @@ class ExperimentalGenerator implements NewLevelGenerator{
|
|||
public function pickBiome(int $x, int $z){
|
||||
$hash = $x * 2345803 ^ $z * 9236449 ^ $this->level->level->getSeed();
|
||||
$hash *= $hash + 223;
|
||||
$xNoise = $hash >> 20 & 3;
|
||||
$zNoise = $hash >> 22 & 3;
|
||||
$xNoise = ((int)$hash) >> 20 & 3; //why dont u have types for local variables??
|
||||
$zNoise = ((int)$hash) >> 22 & 3;
|
||||
if($xNoise == 3){
|
||||
$xNoise = 1;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue