removed debug spam

This commit is contained in:
GameHerobrine 2023-07-03 08:05:27 +03:00
parent 457eee1157
commit bc979c2853
2 changed files with 3 additions and 4 deletions

View file

@ -67,7 +67,7 @@ class Player{
private $packetStats;
private $chunkCount = [];
private $received = [];
public $cratingItems;
/**
* @param integer $clientID
* @param string $ip
@ -1274,7 +1274,6 @@ class Player{
if(EventHandler::callEvent(new DataPacketReceiveEvent($this, $packet)) === BaseEvent::DENY){
return;
}
console($packet->pid());
switch($packet->pid()){
case 0x01:
break;

View file

@ -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;
}