mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-06-25 04:44:03 +00:00
Merge commit '7af4e70f6'
# Conflicts: # resources/vanilla # src/pocketmine/entity/Entity.php
This commit is contained in:
commit
3e9018a838
@ -1442,7 +1442,7 @@ abstract class Entity{
|
|||||||
$this->setMotion($this->temporalVector->setComponents(0, 0, 0));
|
$this->setMotion($this->temporalVector->setComponents(0, 0, 0));
|
||||||
if($this->setPositionAndRotation($pos, $yaw ?? $this->location->yaw, $pitch ?? $this->location->pitch)){
|
if($this->setPositionAndRotation($pos, $yaw ?? $this->location->yaw, $pitch ?? $this->location->pitch)){
|
||||||
$this->resetFallDistance();
|
$this->resetFallDistance();
|
||||||
$this->onGround = true;
|
$this->setForceMovementUpdate();
|
||||||
|
|
||||||
$this->updateMovement(true);
|
$this->updateMovement(true);
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user