mirror of
https://github.com/oldminecraftcommunity/NostalgiaCore.git
synced 2026-11-20 11:39:43 +00:00
Added Spawn Eggs
This commit is contained in:
parent
7970b8aeed
commit
82aa76be17
4 changed files with 61 additions and 3 deletions
|
|
@ -116,7 +116,7 @@ class Entity extends Position{
|
|||
$this->size = 0.5;
|
||||
break;
|
||||
case ENTITY_MOB:
|
||||
$this->setHealth($this->data["Health"], "generic");
|
||||
$this->setHealth(isset($this->data["Health"]) ? $this->data["Health"]:10, "generic");
|
||||
$this->update();
|
||||
//$this->setName((isset($mobs[$this->type]) ? $mobs[$this->type]:$this->type));
|
||||
$this->size = 1;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue