From 6c1c0c867e178f8da8b266e962ca13f4b4280ab4 Mon Sep 17 00:00:00 2001 From: "Dylan K. Taylor" Date: Wed, 9 Mar 2022 22:52:38 +0000 Subject: [PATCH] Release 4.2.3 --- changelogs/4.2.md | 23 +++++++++++++++++++++++ src/VersionInfo.php | 2 +- 2 files changed, 24 insertions(+), 1 deletion(-) diff --git a/changelogs/4.2.md b/changelogs/4.2.md index ac1124dda..3f6d2b47d 100644 --- a/changelogs/4.2.md +++ b/changelogs/4.2.md @@ -28,3 +28,26 @@ Released 2nd March 2022. - Fixed output directory for `/dumpmemory`. - `PlayerInventory->isHotbarSlot()` now correctly returns `false` when given `9`. - Fixed ghost items left in the inventory when dropping tools while mining. + +# 4.2.3 +Released 9th March 2022. + +## Technical +- Now analysed using PHPStan 1.4.8. +- Now using `pocketmine/bedrock-protocol` [`8.0.1`](https://github.com/pmmp/BedrockProtocol/releases/tag/8.0.1%2Bbedrock-1.18.10). + +## Fixes +### Core +- Fixed a memory leak and other bugs related to plugins disabling themselves during `onEnable()`. + +### Gameplay +- Sweet berry bushes now absorb fall damage. +- Fixed mycelium spreading onto coarse dirt. +- Fixed blocks placed during `Block->onIncinerate()` getting overwritten. +- Fixed shulker boxes being unopenable when underwater. +- Fixed invisible fire on top of transparent non-flammable blocks. + +### API +- Various APIs accepting `Vector3`, `Position` or `Location` no longer accept objects containing `INF` or `NaN` in any component. Previously, this was allowed, but would cause lots of obscure crashes later on. +- `Entity->setRotation()` no longer accepts `INF` or `NaN`. +- Fixed missing bounds check for `ItemFrame->setItemDropChance()`. diff --git a/src/VersionInfo.php b/src/VersionInfo.php index 670cc7a11..5c3c3c5b2 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.2.3"; - public const IS_DEVELOPMENT_BUILD = true; + public const IS_DEVELOPMENT_BUILD = false; public const BUILD_CHANNEL = "stable"; private function __construct(){