mirror of
https://github.com/oldminecraftcommunity/NostalgiaCore.git
synced 2026-11-23 04:59:46 +00:00
Update ChatAPI.php
This commit is contained in:
parent
4bf4a481a6
commit
ca242cc262
1 changed files with 3 additions and 3 deletions
|
|
@ -87,12 +87,12 @@ class ChatAPI{
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
$mes = implode(" ", $params);
|
$mes = implode(" ", $params);
|
||||||
$output .= "[me -> ".$target."] ".$mes."\n";
|
$output .= "You're whispering to ".$target." ".$mes."\n";
|
||||||
if($target !== "Console" and $target !== "Rcon"){
|
if($target !== "Console" and $target !== "Rcon"){
|
||||||
$this->sendTo(false, "[".$sender." -> me] ".$mes, $target);
|
$this->sendTo(false, $sender." whispers to you: ".$mes, $target);
|
||||||
}
|
}
|
||||||
if($target === "Console" or $sender === "Console"){
|
if($target === "Console" or $sender === "Console"){
|
||||||
console("[INFO] [".$sender." -> ".$target."] ".$mes);
|
console("[INFO] ".$sender." whispers to ".$target." : "$mes);
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue