get entity names or sizes by eids or instances

This commit is contained in:
GameHerobrine 2022-09-25 00:49:56 +03:00
parent 53928f4e88
commit 69d4e52d44
12 changed files with 35 additions and 12 deletions

View file

@ -6,7 +6,7 @@ class Skeleton extends Monster{
parent::__construct($level, $eid, $class, $type, $data);
$this->setHealth(isset($this->data["Health"]) ? $this->data["Health"] : 20, "generic");
$this->update();
//$this->setName('Skeleton');
$this->setName('Skeleton');
$this->size = 1.9;
}