local entity ids

This commit is contained in:
GameHerobrine 2025-06-28 22:32:47 +03:00
parent 1ea54bc95b
commit 565a9420fd
13 changed files with 179 additions and 51 deletions

View file

@ -201,6 +201,8 @@ abstract class Projectile extends Entity{
public function spawn($player)
{
$player->addEntity($this);
$pk = new AddEntityPacket();
$pk->eid = $this->eid;
$pk->type = $this->type;