mirror of
https://github.com/oldminecraftcommunity/NostalgiaCore.git
synced 2026-11-20 11:39:43 +00:00
monsters are separated now
This commit is contained in:
parent
27be94ad1b
commit
dbc199f34b
10 changed files with 112 additions and 79 deletions
|
|
@ -272,7 +272,6 @@ class EntityAPI{
|
|||
$eid = $this->eCnt++;
|
||||
$efl = EntityRegistry::$entityList->getEntityFromType($type);
|
||||
if($efl instanceof PropertyEntity){
|
||||
console(json_encode($data));
|
||||
$class = $efl->getEntityName();
|
||||
$this->entities[$eid] = new $class($level, $eid, $efl->getEntityClass(), $efl->getEntityType(), $data);
|
||||
}else{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue