mirror of
https://github.com/oldminecraftcommunity/NostalgiaCore.git
synced 2026-11-20 19:49: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";
|
||||
break;
|
||||
}
|
||||
if($this->teleport($name, $target)){
|
||||
if($this->teleport($name, $target) !== false){
|
||||
$output .= "\"$name\" teleported to \"$target\"\n";
|
||||
}else{
|
||||
$output .= "Couldn't teleport.\n";
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue