From 6f8261f26a099af71244d05e7c57bda41e111ea6 Mon Sep 17 00:00:00 2001 From: "Dylan K. Taylor" Date: Thu, 9 Sep 2021 01:32:39 +0100 Subject: [PATCH] Added changelog so far for beta2 --- changelogs/4.0.md | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) diff --git a/changelogs/4.0.md b/changelogs/4.0.md index 2b3833f7a..8916a6f28 100644 --- a/changelogs/4.0.md +++ b/changelogs/4.0.md @@ -1263,3 +1263,29 @@ However, if we add `src-namespace-prefix: pmmp\TesterPlugin` to the `plugin.yml` ### Inventory - Implemented offhand inventory. + +# 4.0.0-BETA2 + + +## General +- ext-chunkutils 0.3.x is now required. +- Reduced memory usage of light storage after garbage collection. +- Reduced memory usage of uniform subchunks which only contain 1 type of block. +- 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. + +## 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. + +## API changes +- The following API methods have been added: + - `World->getChunkEntities()` + - `World->notifyNeighbourBlockUpdate()` +- The following API methods have been removed: + - `Chunk->getEntities()` + - `Chunk->getSavableEntities()` + - `Chunk->addEntity()` + - `Chunk->removeEntity()`