message about teleporting to world spawn

This commit is contained in:
Tema1d 2023-01-14 22:44:28 +02:00 • committed by GitHub
parent 8a5611c25c
commit 8b9cdc6307
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -145,6 +145,7 @@ class PlayerAPI{
break; break;
} }
$issuer->teleport($this->server->spawn); $issuer->teleport($this->server->spawn);
$output .= "You teleported to the world spawn, " . $issuer->username . " . ";
break; break;
case "ping": case "ping":
if(!($issuer instanceof Player)){ if(!($issuer instanceof Player)){