mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-06-08 04:38:35 +00:00
Release 4.20.3
This commit is contained in:
parent
fa715a074a
commit
325ffec1be
@ -51,3 +51,16 @@ Released 4th May 2023.
|
|||||||
## Fixes
|
## Fixes
|
||||||
- Fixed all types of wooden logs appearing as oak in the inventory.
|
- Fixed all types of wooden logs appearing as oak in the inventory.
|
||||||
- Fixed a performance issue in `BaseInventory->canAddItem()` (missing `continue` causing useless logic to run).
|
- Fixed a performance issue in `BaseInventory->canAddItem()` (missing `continue` causing useless logic to run).
|
||||||
|
|
||||||
|
# 4.20.3
|
||||||
|
Released 6th May 2023.
|
||||||
|
|
||||||
|
## Improvements
|
||||||
|
- Reduced memory usage of `RuntimeBlockMapping` from 25 MB to 9 MB. Since every thread has its own copy of the block map, this saves a substantial amount of memory.
|
||||||
|
|
||||||
|
## Fixes
|
||||||
|
- Fixed players falling through blocks in spectator mode.
|
||||||
|
- Fixed timings reports getting bloated by prolific usage of `PluginManager->registerEvent()`.
|
||||||
|
- This was caused by creating a new timings handler for each call, regardless of whether a timer already existed for the given event and callback.
|
||||||
|
- Fixed `Full Server Tick` and other records being missing from timings reports.
|
||||||
|
- This was caused by timings handler depth not getting reset when timings was disabled and later re-enabled.
|
||||||
|
@ -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.20.3";
|
public const BASE_VERSION = "4.20.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