readded @ArkQuark 's code which was remove by evil NCDev

This commit is contained in:
GameHerobrine 2022-10-13 17:31:08 +03:00
parent 95dbf588c5
commit 867b81477e

View file

@ -1471,7 +1471,10 @@ class Player{
$this->server->schedule(5, [$this->entity, "update"], [], true);
$this->server->schedule(2, [$this->entity, "updateMovement"], [], true);
$this->sendArmor();
$this->sendChat($this->server->motd . "\n");
$array = explode("@n", (string)$this->server->motd);
foreach($array as $msg){
$this->sendChat($msg."\n");
}
$this->sendInventory();
$this->sendSettings();