mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-07-28 21:55:52 +00:00
Correct teleport message
This commit is contained in:
parent
3cc4546f93
commit
7d49847ae7
@ -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…
x
Reference in New Issue
Block a user