mirror of
https://github.com/oldminecraftcommunity/NostalgiaCore.git
synced 2026-11-20 19:49:44 +00:00
Fixing
This commit is contained in:
parent
0261a176be
commit
df75cf941a
6 changed files with 23 additions and 21 deletions
|
|
@ -92,12 +92,12 @@ class ChatAPI{
|
|||
}
|
||||
}
|
||||
$mes = implode(" ", $params);
|
||||
$output .= "You're whispering to ".$target." ".$mes."\n";
|
||||
$output .= "You're whispering to ".$target.": ".$mes."\n";
|
||||
if($target !== "Console" and $target !== "Rcon"){
|
||||
$this->sendTo(false, $sender." whispers to you: ".$mes, $target);
|
||||
}
|
||||
if($target === "Console" or $sender === "Console"){
|
||||
console("[INFO] ".$sender." whispers to ".$target." : ".$mes);
|
||||
console("[INFO] ".$sender." whispers to ".$target.": ".$mes);
|
||||
}
|
||||
break;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue