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