mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-10-18 12:04:46 +00:00
Fix possible variable bug with /tell.
This commit is contained in:
@@ -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";
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user