diff --git a/src/player/Player.php b/src/player/Player.php index c7704d690..4bc7070e1 100644 --- a/src/player/Player.php +++ b/src/player/Player.php @@ -983,6 +983,7 @@ class Player extends Human implements CommandSender, ChunkListener, IPlayer{ if($this->isSpectator()){ $this->setFlying(true); + $this->setSilent(); $this->onGround = false; //TODO: HACK! this syncs the onground flag with the client so that flying works properly @@ -992,6 +993,7 @@ class Player extends Human implements CommandSender, ChunkListener, IPlayer{ if($this->isSurvival()){ $this->setFlying(false); } + $this->setSilent(false); $this->checkGroundState(0, 0, 0, 0, 0, 0); } }