mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-06-13 15:05:33 +00:00
Fix a really annoying movement bug on player join
This commit is contained in:
parent
15b9578245
commit
b16f7e4dd5
@ -1885,8 +1885,8 @@ class Player extends Human implements CommandSender, InventoryHolder, ChunkLoade
|
|||||||
|
|
||||||
$this->setRotation($packet->yaw, $packet->pitch);
|
$this->setRotation($packet->yaw, $packet->pitch);
|
||||||
$this->newPosition = $newPos;
|
$this->newPosition = $newPos;
|
||||||
$this->forceMovement = null;
|
|
||||||
}
|
}
|
||||||
|
$this->forceMovement = null;
|
||||||
|
|
||||||
break;
|
break;
|
||||||
case ProtocolInfo::MOB_EQUIPMENT_PACKET:
|
case ProtocolInfo::MOB_EQUIPMENT_PACKET:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user