Skip to content

Version 1.1.1

Choose a tag to compare

@allejo allejo released this 18 Apr 00:19
· 3 commits to master since this release
f494925

New

  • WorldDatabase now has getWaterLevel() and getWaterMaterial() (previously this data was private)

Changes

  • MsgAddPlayer::getPlayerIndex() has been deprecated in favor of MsgAddPlayer::getPlayerId() to have consistent naming with our other packets

Fixes

  • A number of PHPStan fixes that addressed edge case bugs; e.g. in edge cases unpack could return false inside of NetworkPacket, an exception is now thrown
  • MeshTransforms did not have a default value for its getTransformers() storage meaning it could potentially return null causing a problem for environments with strict types

Development

  • Update PHP-CS-Fixer to v3 and PHPStan to v1
  • Add explicit visibility to class constants