From 199fb62e8c822f61ad7d948094cb8b49bc991bab Mon Sep 17 00:00:00 2001 From: yefengeeeeeeeeeee <121912649+yefengeeeeeeeeeee@users.noreply.github.com> Date: Wed, 26 Aug 2026 22:47:11 +0800 Subject: [PATCH] Add KnockBack back to nc --- src/entity/Entity.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/entity/Entity.php b/src/entity/Entity.php index 968615c8..d469493d 100644 --- a/src/entity/Entity.php +++ b/src/entity/Entity.php @@ -1518,7 +1518,7 @@ class Entity extends Position $this->knockBack($d, $d1); if($this->isPlayer()){ $pk = new SetEntityMotionPacket(); - $pk->eid = 0; + $pk->eid = $this->eid; $pk->speedX = $this->speedX; $pk->speedY = $this->speedY; $pk->speedZ = $this->speedZ;