mirror of
https://github.com/oldminecraftcommunity/NostalgiaCore.git
synced 2026-11-20 11:39:43 +00:00
removed debug spam
This commit is contained in:
parent
457eee1157
commit
bc979c2853
2 changed files with 3 additions and 4 deletions
|
|
@ -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;
|
||||
|
|
|
|||
|
|
@ -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