mirror of
https://github.com/oldminecraftcommunity/NostalgiaCore.git
synced 2026-11-20 11:39:43 +00:00
Fix for spawn point
This commit is contained in:
parent
0cb8f28122
commit
9f3523a920
2 changed files with 2 additions and 1 deletions
|
|
@ -228,6 +228,7 @@ class PocketMinecraftServer extends stdClass{
|
|||
$this->seed = (int) $this->level["RandomSeed"];
|
||||
$this->spawn = array("x" => $level["SpawnX"], "y" => $level["SpawnY"], "z" => $level["SpawnZ"]);
|
||||
$this->level["Time"] = &$this->time;
|
||||
console("[INFO] Spawn: X ".$level["SpawnX"]." Y ".$level["SpawnY"]." Z ".$level["SpawnZ"]);
|
||||
console("[INFO] Time: ".$this->time);
|
||||
console("[INFO] Seed: ".$this->seed);
|
||||
console("[INFO] Gamemode: ".($this->gamemode === 0 ? "survival":"creative"));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue