No, it dont work only if player has AllowFlight https://github.com/pmmp/PocketMine-...mine/event/player/PlayerToggleFlightEvent.php and it checking double tap on fly button
Try it in survival. It doesn't work (I don't want allow fight. Only check if a player double tap the button)
Lel I already said that I don't want to check if the player is flying or can fly. I want to check the double tap on the button
you should have said double jump, i believe there a packet somewhere wait... this looks very familiar i remember talked about this somewhere else
There is a Jump action in the PlayerActionPacket. But does it call if the player is in the air? And how can I check if it's called?