From c995c2de37499c41cb21ad9dc28473f8a7b32b7b Mon Sep 17 00:00:00 2001 From: "Dylan K. Taylor" Date: Fri, 10 Sep 2021 17:04:35 +0100 Subject: [PATCH] updated changelog [ci skip] --- changelogs/4.0.md | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/changelogs/4.0.md b/changelogs/4.0.md index 8916a6f28..b45913e7e 100644 --- a/changelogs/4.0.md +++ b/changelogs/4.0.md @@ -1274,11 +1274,14 @@ However, if we add `src-namespace-prefix: pmmp\TesterPlugin` to the `plugin.yml` - The title bar no longer displays heap memory usage numbers (nobody seemed to know that was what it was, anyway). - `/status` no longer displays heap memory usage numbers. - `start.sh` no longer specifically mentions PHP 7 when erroring because of a missing PHP binary. +- Debug messages are now logged when reach distance checks prevent players from doing something. ## Fixes - Fixed players getting disconnected when using `/tp` to ungenerated chunks (or when teleported by players). - Fixed a potential memory leak in block updating when chunks are unloaded. - Fixed `Living->lookAt()` not taking eye height into account. +- Fixed grass replacing itself when placing grass (and consuming inventory items). +- Fixed players taking fall damage when falling next to a wall. ## API changes - The following API methods have been added: @@ -1289,3 +1292,12 @@ However, if we add `src-namespace-prefix: pmmp\TesterPlugin` to the `plugin.yml` - `Chunk->getSavableEntities()` - `Chunk->addEntity()` - `Chunk->removeEntity()` +- The following classes have been added: + - `pocketmine\inventory\transaction\TransactionBuilderInventory`: facilitates building `InventoryTransaction`s using standard `Inventory` API methods +- The following class constants have been added: + - `Chunk::EDGE_LENGTH` + - `Chunk::COORD_BIT_SIZE` + - `Chunk::COORD_MASK` + - `SubChunk::EDGE_LENGTH` + - `SubChunk::COORD_BIT_SIZE` + - `SubChunk::COORD_MASK`