mirror of
https://github.com/oldminecraftcommunity/NostalgiaCore.git
synced 2026-11-21 03:59:43 +00:00
fixed Player::teleport damaging player sometimes
This commit is contained in:
parent
42d44bc7df
commit
f05b66d992
1 changed files with 1 additions and 0 deletions
|
|
@ -1653,6 +1653,7 @@ class Player{
|
|||
$this->forceMovement = false;
|
||||
}else{
|
||||
$this->teleport($this->forceMovement, $this->entity->yaw, $this->entity->pitch, false);
|
||||
break;
|
||||
}
|
||||
}
|
||||
$speed = $this->entity->getSpeedMeasure();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue