mirror of
https://github.com/oldminecraftcommunity/NostalgiaCore.git
synced 2026-11-23 21:19:44 +00:00
Update Player.php
This commit is contained in:
parent
b328736591
commit
bc75dd9efa
1 changed files with 5 additions and 1 deletions
|
|
@ -1471,7 +1471,11 @@ class Player{
|
||||||
$this->server->schedule(5, [$this->entity, "update"], [], true);
|
$this->server->schedule(5, [$this->entity, "update"], [], true);
|
||||||
$this->server->schedule(2, [$this->entity, "updateMovement"], [], true);
|
$this->server->schedule(2, [$this->entity, "updateMovement"], [], true);
|
||||||
$this->sendArmor();
|
$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->sendInventory();
|
||||||
$this->sendSettings();
|
$this->sendSettings();
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue