mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-07-18 17:11:28 +00:00
Release 4.10.2
This commit is contained in:
parent
ff63983de4
commit
58c1bfe5d2
@ -36,3 +36,18 @@ Released 7th November 2022.
|
|||||||
- Added validation for the array given to `BaseInventory->setContents()` to ensure that it contains only `Item` instances.
|
- Added validation for the array given to `BaseInventory->setContents()` to ensure that it contains only `Item` instances.
|
||||||
- Silenced `PlayerAuthInputPacket` spam when the session is in the "spawn response" state.
|
- Silenced `PlayerAuthInputPacket` spam when the session is in the "spawn response" state.
|
||||||
- Updated to PHPStan 1.9.
|
- Updated to PHPStan 1.9.
|
||||||
|
|
||||||
|
# 4.10.2
|
||||||
|
Released 25th November 2022.
|
||||||
|
|
||||||
|
## Fixes
|
||||||
|
- Fixed crashes on macOS and Linux when using console colours without the `TERM` environment variable set.
|
||||||
|
- Fixed crashdumps not being generated when error messages contained invalid UTF-8 characters.
|
||||||
|
|
||||||
|
## Documentation
|
||||||
|
- Clarified documentation of caching behaviour for `Internet::getIP()`.
|
||||||
|
- Added and improved documentation for many `Inventory` methods.
|
||||||
|
- Rewritten documentation for `PlayerCreationEvent` with warnings and more detail.
|
||||||
|
|
||||||
|
## Internals
|
||||||
|
- Non-arrow projectile damage is now unscaled. Scaling according to velocity is only applied to arrows. This currently doesn't cause any observable change in behaviour, but is required for future additions.
|
||||||
|
@ -32,7 +32,7 @@ use function str_repeat;
|
|||||||
final class VersionInfo{
|
final class VersionInfo{
|
||||||
public const NAME = "PocketMine-MP";
|
public const NAME = "PocketMine-MP";
|
||||||
public const BASE_VERSION = "4.10.2";
|
public const BASE_VERSION = "4.10.2";
|
||||||
public const IS_DEVELOPMENT_BUILD = true;
|
public const IS_DEVELOPMENT_BUILD = false;
|
||||||
public const BUILD_CHANNEL = "stable";
|
public const BUILD_CHANNEL = "stable";
|
||||||
|
|
||||||
private function __construct(){
|
private function __construct(){
|
||||||
|
Loading…
x
Reference in New Issue
Block a user