sleeping will not kick for flying, check for obstructed position added

This commit is contained in:
GameHerobrine 2024-07-22 18:43:11 +03:00
parent a08e4eaf73
commit 55aa7ca2b7
3 changed files with 45 additions and 6 deletions

View file

@ -65,7 +65,7 @@ class Level{
$this->changedBlocks = [];
$this->changedCount = [];
$this->mobSpawner = new MobSpawner($this);
$this->randInt1 = 0x283AE83; //it is static in 0.1, and i dont care is it in 0.8
$this->randInt1 = 0x283AE83;
$this->randInt2 = 0x3C6EF35F;
}