mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-07-07 02:21:46 +00:00
* Fix #1046 * Change spawnForced to false
This commit is contained in:
parent
cd66f58526
commit
c43ab12a9a
@ -1184,6 +1184,7 @@ class Player extends Human implements CommandSender, InventoryHolder, ChunkLoade
|
|||||||
$pk->y = (int) $this->spawnPosition->y;
|
$pk->y = (int) $this->spawnPosition->y;
|
||||||
$pk->z = (int) $this->spawnPosition->z;
|
$pk->z = (int) $this->spawnPosition->z;
|
||||||
$pk->spawnType = SetSpawnPositionPacket::TYPE_PLAYER_SPAWN;
|
$pk->spawnType = SetSpawnPositionPacket::TYPE_PLAYER_SPAWN;
|
||||||
|
$pk->spawnForced = false;
|
||||||
$this->dataPacket($pk);
|
$this->dataPacket($pk);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user