From b8a4ca45e40f8c242d63bd7de51bcf8294fca2b5 Mon Sep 17 00:00:00 2001 From: "Dylan K. Taylor" Date: Tue, 8 Aug 2023 18:41:06 +0100 Subject: [PATCH] Release 5.4.1 --- changelogs/5.4.md | 16 ++++++++++++++++ src/VersionInfo.php | 2 +- 2 files changed, 17 insertions(+), 1 deletion(-) diff --git a/changelogs/5.4.md b/changelogs/5.4.md index a40fdfcea..8e77f7eb0 100644 --- a/changelogs/5.4.md +++ b/changelogs/5.4.md @@ -81,3 +81,19 @@ Consider using the `mcpe-protocol` directive in `plugin.yml` as a constraint if - In addition, this change facilitates the use of the newly introduced `Block->getAdjacentSupportType()` API method, reducing boilerplate support-type checking code. - Bell block code has been simplified and cleaned up. - `TallGrass` and `DoubleTallGrass` now use a shared `TallGrassTrait` to reduce code duplication. + +# 5.4.1 +Released 8th August 2023. + +## General +- Updated translation data to [pmmp/Language 2.19.6](https://github.com/pmmp/Language/releases/tag/2.19.6). +- [`ext-pmmpthread` 6.0.7](https://github.com/pmmp/ext-pmmpthread/releases/tag/6.0.7) is now required (needed for bug fixes). + +## Fixes +- Fixed Podzol not dropping itself when mined with Silk Touch. +- Fixed `World->getSafeSpawn()` not accepting positions below `y=0` (world height limit change). +- Fixed `pocketmine\thread\Thread` and `pocketmine\thread\Worker` instances not logging any information when they crash. +- Fixed `CraftItemEvent` not cloning returned items. + +## Internals +- Foreach by-reference is now disallowed via a custom PHPStan rule. diff --git a/src/VersionInfo.php b/src/VersionInfo.php index 0b40f80e4..f2436e100 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 = "5.4.1"; - public const IS_DEVELOPMENT_BUILD = true; + public const IS_DEVELOPMENT_BUILD = false; public const BUILD_CHANNEL = "stable"; /**