mirror of
https://github.com/oldminecraftcommunity/NostalgiaCore.git
synced 2026-11-23 13:09:44 +00:00
Correct teleport message
This commit is contained in:
parent
3cc4546f93
commit
7d49847ae7
1 changed files with 1 additions and 1 deletions
|
|
@ -189,7 +189,7 @@ class PlayerAPI{
|
||||||
$output .= "Usage: /$cmd [target player] <destination player>\n";
|
$output .= "Usage: /$cmd [target player] <destination player>\n";
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
if($this->teleport($name, $target)){
|
if($this->teleport($name, $target) !== false){
|
||||||
$output .= "\"$name\" teleported to \"$target\"\n";
|
$output .= "\"$name\" teleported to \"$target\"\n";
|
||||||
}else{
|
}else{
|
||||||
$output .= "Couldn't teleport.\n";
|
$output .= "Couldn't teleport.\n";
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue