structure class added, phar plugins support

This commit is contained in:
GameHerobrine 2022-10-13 13:38:34 +03:00
parent bc75dd9efa
commit 95dbf588c5
9 changed files with 160 additions and 12 deletions

View file

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