mirror of
https://github.com/oldminecraftcommunity/NostalgiaCore.git
synced 2026-11-22 20:49: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";
|
$output .= "Please run this command in-game.\n";
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
$spawn = $issuer->getSpawn();
|
$issuer->teleport($this->server->spawn);
|
||||||
$issuer->teleport($spawn);
|
|
||||||
break;
|
break;
|
||||||
case "ping":
|
case "ping":
|
||||||
if(!($issuer instanceof Player)){
|
if(!($issuer instanceof Player)){
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue