- Updated namespaces and imports to match PocketMine-MP 5.x.x API changes.
- Updated packet handling to use UpdateAttributesPacket instead of UpdateAbilitiesPacket for compatibility.
- Updated config file handling to use Config::JSON for storing player speeds.
- Update the
InternalChange
method to ensure corret useAbilitisData
- Improved type chechking and error handling in the
FlySpeedCommand
class to validate float input for fly speed. - Enhanced command feedback to inform players of corret usage and ensure positif numerical input.
These changes ensure compatibility with the latest Pocketmine-MP versions and improve overall stability and user experience.