mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-04-22 00:33:59 +00:00
Fix possible variable bug with /tell.
This commit is contained in:
parent
68076fedc8
commit
f5989d461c
@ -81,7 +81,7 @@ class ChatAPI{
|
||||
$target = $target->username;
|
||||
}else{
|
||||
$target = strtolower($n);
|
||||
if($t === "server" or $t === "console" or $t === "rcon"){
|
||||
if($target === "server" or $target === "console" or $target === "rcon"){
|
||||
$target = "Console";
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user