mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-09-06 01:46:04 +00:00
Use the world spawn by default for players, fixes #1616
This commit is contained in:
@ -633,11 +633,11 @@ class Server{
|
||||
new Double(2, $spawn->z)
|
||||
)),
|
||||
new String("Level", $this->getDefaultLevel()->getName()),
|
||||
new String("SpawnLevel", $this->getDefaultLevel()->getName()),
|
||||
new Int("SpawnX", (int) $spawn->x),
|
||||
new Int("SpawnY", (int) $spawn->y),
|
||||
new Int("SpawnZ", (int) $spawn->z),
|
||||
new Byte("SpawnForced", 1), //TODO
|
||||
//new String("SpawnLevel", $this->getDefaultLevel()->getName()),
|
||||
//new Int("SpawnX", (int) $spawn->x),
|
||||
//new Int("SpawnY", (int) $spawn->y),
|
||||
//new Int("SpawnZ", (int) $spawn->z),
|
||||
//new Byte("SpawnForced", 1), //TODO
|
||||
new Enum("Inventory", []),
|
||||
new Compound("Achievements", []),
|
||||
new Int("playerGameType", $this->getGamemode()),
|
||||
|
Reference in New Issue
Block a user