mirror of
https://github.com/oldminecraftcommunity/NostalgiaCore.git
synced 2026-11-22 04:29:43 +00:00
Fix possible variable bug with /tell.
This commit is contained in:
parent
68076fedc8
commit
f5989d461c
1 changed files with 1 additions and 1 deletions
|
|
@ -81,7 +81,7 @@ class ChatAPI{
|
||||||
$target = $target->username;
|
$target = $target->username;
|
||||||
}else{
|
}else{
|
||||||
$target = strtolower($n);
|
$target = strtolower($n);
|
||||||
if($t === "server" or $t === "console" or $t === "rcon"){
|
if($target === "server" or $target === "console" or $target === "rcon"){
|
||||||
$target = "Console";
|
$target = "Console";
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue