mirror of
https://github.com/oldminecraftcommunity/NostalgiaCore.git
synced 2026-11-20 19:49:44 +00:00
local entity ids
This commit is contained in:
parent
1ea54bc95b
commit
565a9420fd
13 changed files with 179 additions and 51 deletions
|
|
@ -817,6 +817,7 @@ class Level{
|
|||
|
||||
|
||||
foreach($this->players as $player){
|
||||
if(!$player->spawned) continue;
|
||||
foreach($post as $eid){
|
||||
$e = $this->entityList[$eid] ?? false;
|
||||
if(!($e instanceof Entity)){
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue