From a39938e6b674af02262d16e83152b9834c677fe0 Mon Sep 17 00:00:00 2001 From: "Dylan K. Taylor" Date: Mon, 7 Nov 2022 14:50:43 +0000 Subject: [PATCH] Release 4.10.1 --- changelogs/4.10.md | 15 +++++++++++++++ src/VersionInfo.php | 2 +- 2 files changed, 16 insertions(+), 1 deletion(-) diff --git a/changelogs/4.10.md b/changelogs/4.10.md index d7407f22f..66989b33d 100644 --- a/changelogs/4.10.md +++ b/changelogs/4.10.md @@ -21,3 +21,18 @@ Released 26th October 2022. ## Documentation - Improved type information available for various API methods in `World`. + +# 4.10.1 +Released 7th November 2022. + +## Fixes +- Fixed spawning in the void if spawn terrain in a world is solid at the default spawn position. +- Fixed totems of undying activating when the player has 1 HP remaining. +- Fixed durable items such as tools becoming unbreakable when in stacks larger than 1. Now, the durability correctly resets when the tool breaks. +- TPS below 12 now correctly shows as red in `/status`. Previously, it showed as orange due to a condition ordering bug. +- Improved handling of missing arguments in user-defined `pocketmine.yml` command aliases. Previously, missing arguments would be filled with an empty string, which caused a variety of unexpected behaviour. + +## Internals +- 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. +- Updated to PHPStan 1.9. diff --git a/src/VersionInfo.php b/src/VersionInfo.php index ab7ac0b55..797c74f9a 100644 --- a/src/VersionInfo.php +++ b/src/VersionInfo.php @@ -32,7 +32,7 @@ use function str_repeat; final class VersionInfo{ public const NAME = "PocketMine-MP"; public const BASE_VERSION = "4.10.1"; - public const IS_DEVELOPMENT_BUILD = true; + public const IS_DEVELOPMENT_BUILD = false; public const BUILD_CHANNEL = "stable"; private function __construct(){