mirror of
https://github.com/oldminecraftcommunity/NostalgiaCore.git
synced 2026-11-20 11:39:43 +00:00
aaa i hate sql(mobs will cause less lags)
This commit is contained in:
parent
f40fe179c1
commit
51442ed771
5 changed files with 1411 additions and 1210 deletions
|
|
@ -152,6 +152,7 @@ class EntityAPI{
|
|||
}else{
|
||||
$this->entities[$eid] = new Entity($level, $eid, $class, $type, $data);
|
||||
}
|
||||
$level->entityList[$eid] = &$this->entities[$eid];
|
||||
$this->server->handle("entity.add", $this->entities[$eid]);
|
||||
return $this->entities[$eid];
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue