mirror of
https://github.com/oldminecraftcommunity/NostalgiaCore.git
synced 2026-11-20 11:39:43 +00:00
Add KnockBack back to nc
This commit is contained in:
parent
bbecfdfce5
commit
199fb62e8c
1 changed files with 1 additions and 1 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue