mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-06-07 12:18:46 +00:00
Release 4.2.3
This commit is contained in:
parent
5c0eb92d81
commit
6c1c0c867e
@ -28,3 +28,26 @@ Released 2nd March 2022.
|
|||||||
- Fixed output directory for `/dumpmemory`.
|
- Fixed output directory for `/dumpmemory`.
|
||||||
- `PlayerInventory->isHotbarSlot()` now correctly returns `false` when given `9`.
|
- `PlayerInventory->isHotbarSlot()` now correctly returns `false` when given `9`.
|
||||||
- Fixed ghost items left in the inventory when dropping tools while mining.
|
- 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()`.
|
||||||
|
@ -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.2.3";
|
public const BASE_VERSION = "4.2.3";
|
||||||
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