mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-06-27 13:49:55 +00:00
Workaround for flight controls fail on teleport (TODO: fix this properly)
This commit is contained in:
parent
a4b8dd43e6
commit
86742fcf30
@ -3979,7 +3979,6 @@ class Player extends Human implements CommandSender, InventoryHolder, ChunkLoade
|
||||
$pk->pitch = $pitch;
|
||||
$pk->yaw = $yaw;
|
||||
$pk->mode = $mode;
|
||||
$pk->onGround = $this->onGround;
|
||||
|
||||
if($targets !== null){
|
||||
$this->server->broadcastPacket($targets, $pk);
|
||||
|
@ -44,7 +44,7 @@ class MovePlayerPacket extends DataPacket{
|
||||
public $bodyYaw;
|
||||
public $pitch;
|
||||
public $mode = self::MODE_NORMAL;
|
||||
public $onGround;
|
||||
public $onGround = false; //TODO
|
||||
public $ridingEid = 0;
|
||||
public $int1 = 0;
|
||||
public $int2 = 0;
|
||||
|
Loading…
x
Reference in New Issue
Block a user