mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-09-06 09:56:06 +00:00
Entity: remove fallDistance parameter from fall()
This commit is contained in:
@ -1200,9 +1200,9 @@ class Player extends Human implements CommandSender, ChunkListener, IPlayer{
|
||||
$this->sendPosition($from, $from->yaw, $from->pitch, MovePlayerPacket::MODE_RESET);
|
||||
}
|
||||
|
||||
public function fall(float $fallDistance) : void{
|
||||
public function fall() : void{
|
||||
if(!$this->flying){
|
||||
parent::fall($fallDistance);
|
||||
parent::fall();
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user