mirror of
https://github.com/oldminecraftcommunity/NostalgiaCore.git
synced 2026-11-23 13:09:44 +00:00
Fix \n.
This commit is contained in:
parent
51e77bf77e
commit
1f13444724
1 changed files with 2 additions and 2 deletions
|
|
@ -188,9 +188,9 @@ class BanAPI{
|
||||||
$this->server->schedule(60, [$player, "close"], "You have been kicked: " . $reason); //Forces a kick
|
$this->server->schedule(60, [$player, "close"], "You have been kicked: " . $reason); //Forces a kick
|
||||||
$player->blocked = true;
|
$player->blocked = true;
|
||||||
if($issuer instanceof Player){
|
if($issuer instanceof Player){
|
||||||
$this->server->api->chat->broadcast($player->username . " has been kicked by " . $issuer->username . ": $reason\n");
|
$this->server->api->chat->broadcast($player->username . " has been kicked by " . $issuer->username . ": $reason");
|
||||||
}else{
|
}else{
|
||||||
$this->server->api->chat->broadcast($player->username . " has been kicked: $reason\n");
|
$this->server->api->chat->broadcast($player->username . " has been kicked: $reason");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue