diff --git a/changelogs/5.33.md b/changelogs/5.33.md index 45f03f521..fe2e15a07 100644 --- a/changelogs/5.33.md +++ b/changelogs/5.33.md @@ -127,3 +127,9 @@ Consider using the `mcpe-protocol` directive in `plugin.yml` as a constraint if ## Internals - `BlockStateUpgrader` is now almost entirely independent from `BlockStateData`. It's anticipated that the upgrader library will be separable from the core in the future. - `Block->readStateFromWorld()` is now triggered on chunk load for any position containing a tile. This should allow more effective updating of blocks with properties in their tiles. + +# 5.33.1 +Released 31st August 2025. + +## Fixes +- Fixed banners placed in prior versions getting their tiles deleted (due to missing `Type` tags). diff --git a/src/VersionInfo.php b/src/VersionInfo.php index 1d4179f7d..855e78aaa 100644 --- a/src/VersionInfo.php +++ b/src/VersionInfo.php @@ -31,7 +31,7 @@ use function str_repeat; final class VersionInfo{ public const NAME = "PocketMine-MP"; - public const BASE_VERSION = "5.33.1"; + public const BASE_VERSION = "5.33.2"; public const IS_DEVELOPMENT_BUILD = true; public const BUILD_CHANNEL = "stable"; diff --git a/src/block/tile/Banner.php b/src/block/tile/Banner.php index 97ffe630d..b6a143fe7 100644 --- a/src/block/tile/Banner.php +++ b/src/block/tile/Banner.php @@ -82,7 +82,7 @@ class Banner extends Spawnable{ } } - $this->type = $nbt->getInt(self::TAG_TYPE); + $this->type = $nbt->getInt(self::TAG_TYPE, self::TYPE_NORMAL); } protected function writeSaveData(CompoundTag $nbt) : void{