mirror of
https://github.com/oldminecraftcommunity/NostalgiaCore.git
synced 2026-11-21 12:09:43 +00:00
Added regeneration fix, item despawn and damage check
This commit is contained in:
parent
2eb93c1676
commit
67341c6420
3 changed files with 32 additions and 23 deletions
|
|
@ -450,9 +450,6 @@ class Player{
|
|||
$this->entity->data["clientID"] = $this->clientID;
|
||||
$this->server->api->entity->spawnAll($this);
|
||||
$this->server->api->entity->spawnToAll($this->eid);
|
||||
$this->dataPacket(MC_SET_HEALTH, array(
|
||||
"health" => $this->entity->health,
|
||||
));
|
||||
$this->evid[] = $this->server->event("server.time", array($this, "eventHandler"));
|
||||
$this->evid[] = $this->server->event("server.chat", array($this, "eventHandler"));
|
||||
$this->evid[] = $this->server->event("entity.remove", array($this, "eventHandler"));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue