Skip to content

FlySpeed-PM5

Latest
Compare
Choose a tag to compare
@ImmoDevs ImmoDevs released this 03 Jun 11:12
· 7 commits to main since this release
85e5b52
  • 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 use AbilitisData
  • 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.