mirror of
https://github.com/oldminecraftcommunity/NostalgiaCore.git
synced 2026-11-20 11:39:43 +00:00
/spawn teleports to the server spawn instead of the player spawn
This commit is contained in:
parent
724d336853
commit
dd5b1869e2
1 changed files with 1 additions and 2 deletions
|
|
@ -147,8 +147,7 @@ class PlayerAPI{
|
|||
$output .= "Please run this command in-game.\n";
|
||||
break;
|
||||
}
|
||||
$spawn = $issuer->getSpawn();
|
||||
$issuer->teleport($spawn);
|
||||
$issuer->teleport($this->server->spawn);
|
||||
break;
|
||||
case "ping":
|
||||
if(!($issuer instanceof Player)){
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue