mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-06-10 13:35:29 +00:00
Fixed #2121
This commit is contained in:
parent
8e2903da86
commit
82d903733d
@ -1435,10 +1435,6 @@ class Player extends Human implements CommandSender, InventoryHolder, IPlayer{
|
||||
$packet->yaw += 360;
|
||||
}
|
||||
|
||||
if($packet->pitch < 0){
|
||||
$packet->pitch += 360;
|
||||
}
|
||||
|
||||
$this->setRotation($packet->yaw, $packet->pitch);
|
||||
$this->newPosition = $newPos;
|
||||
$this->forceMovement = null;
|
||||
|
Loading…
x
Reference in New Issue
Block a user