diff --git a/src/pocketmine/Player.php b/src/pocketmine/Player.php index 897ec95aa..ee11ca180 100644 --- a/src/pocketmine/Player.php +++ b/src/pocketmine/Player.php @@ -1338,6 +1338,7 @@ class Player extends Human implements CommandSender, InventoryHolder, ChunkLoade $pk = new AdventureSettingsPacket(); $pk->flags = 0; $pk->worldImmutable = $this->isSpectator(); + $pk->noPvp = $this->isSpectator(); $pk->autoJump = $this->autoJump; $pk->allowFlight = $this->allowFlight; $pk->noClip = $this->isSpectator();