mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-09-06 09:56:06 +00:00
Added handling for attack-air action (#5912)
This commit is contained in:
@ -236,6 +236,9 @@ class InGamePacketHandler extends PacketHandler{
|
||||
if($packet->hasFlag(PlayerAuthInputFlags::START_JUMPING)){
|
||||
$this->player->jump();
|
||||
}
|
||||
if($packet->hasFlag(PlayerAuthInputFlags::MISSED_SWING)){
|
||||
$this->player->missSwing();
|
||||
}
|
||||
}
|
||||
|
||||
if(!$this->forceMoveSync && $hasMoved){
|
||||
|
Reference in New Issue
Block a user