Merge branch 'minor-next' into major-next

This commit is contained in:
Dylan K. Taylor
2023-10-24 11:57:30 +01:00
55 changed files with 607 additions and 273 deletions

View File

@ -1224,7 +1224,7 @@ class Player extends Human implements CommandSender, ChunkListener, IPlayer{
}
protected function checkGroundState(float $wantedX, float $wantedY, float $wantedZ, float $dx, float $dy, float $dz) : void{
if($this->isSpectator()){
if($this->gamemode === GameMode::SPECTATOR){
$this->onGround = false;
}else{
$bb = clone $this->boundingBox;