mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-04-22 00:33:59 +00:00
World should only be completely immutable if we're in spectator mode
Fixes being unable to break any blocks at all in adventure mode
This commit is contained in:
parent
207056fb9d
commit
86de0bddd9
@ -1319,7 +1319,7 @@ class Player extends Human implements CommandSender, InventoryHolder, ChunkLoade
|
||||
public function sendSettings(){
|
||||
$pk = new AdventureSettingsPacket();
|
||||
$pk->flags = 0;
|
||||
$pk->worldImmutable = $this->isAdventure();
|
||||
$pk->worldImmutable = $this->isSpectator();
|
||||
$pk->autoJump = $this->autoJump;
|
||||
$pk->allowFlight = $this->allowFlight;
|
||||
$pk->noClip = $this->isSpectator();
|
||||
|
Loading…
x
Reference in New Issue
Block a user