From 2a97b4294d90fcd01c520fb016db6ae11fa0159b Mon Sep 17 00:00:00 2001 From: ipad54 <63200545+ipad54@users.noreply.github.com> Date: Mon, 23 Jun 2025 18:59:40 +0300 Subject: [PATCH 1/4] Fixed held block placement after respawn anchor explosion (#6742) --- src/block/RespawnAnchor.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/block/RespawnAnchor.php b/src/block/RespawnAnchor.php index f702d240d0..e19ea8f6d0 100644 --- a/src/block/RespawnAnchor.php +++ b/src/block/RespawnAnchor.php @@ -85,7 +85,7 @@ final class RespawnAnchor extends Opaque{ switch($ev->getAction()){ case PlayerRespawnAnchorUseEvent::ACTION_EXPLODE: $this->explode($player); - return false; + return true; case PlayerRespawnAnchorUseEvent::ACTION_SET_SPAWN: if($player->getSpawn() !== null && $player->getSpawn()->equals($this->position)){ From 177fa7643493a0f2fda13daf9c583e9b6d468609 Mon Sep 17 00:00:00 2001 From: ipad54 <63200545+ipad54@users.noreply.github.com> Date: Mon, 23 Jun 2025 22:57:33 +0300 Subject: [PATCH 2/4] Disable client-side locator bar (#6743) Without a propper server-side implementation, it just a mess of white dots of nearby players --- src/network/mcpe/handler/PreSpawnPacketHandler.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/network/mcpe/handler/PreSpawnPacketHandler.php b/src/network/mcpe/handler/PreSpawnPacketHandler.php index ad3cafd39d..99f65e78f8 100644 --- a/src/network/mcpe/handler/PreSpawnPacketHandler.php +++ b/src/network/mcpe/handler/PreSpawnPacketHandler.php @@ -81,7 +81,8 @@ class PreSpawnPacketHandler extends PacketHandler{ $levelSettings->lightningLevel = 0; $levelSettings->commandsEnabled = true; $levelSettings->gameRules = [ - "naturalregeneration" => new BoolGameRule(false, false) //Hack for client side regeneration + "naturalregeneration" => new BoolGameRule(false, false), //Hack for client side regeneration + "locatorbar" => new BoolGameRule(false, false) //Disable client-side tracking of nearby players ]; $levelSettings->experiments = new Experiments([], false); From cb508f43823db5f5e8c7a1829dddae0f0959bae8 Mon Sep 17 00:00:00 2001 From: ipad54 <63200545+ipad54@users.noreply.github.com> Date: Mon, 23 Jun 2025 23:30:48 +0300 Subject: [PATCH 3/4] Release 5.30.1 (#6744) --- changelogs/5.30.md | 9 +++++++++ composer.lock | 24 ++++++++++++------------ src/VersionInfo.php | 2 +- 3 files changed, 22 insertions(+), 13 deletions(-) diff --git a/changelogs/5.30.md b/changelogs/5.30.md index 6e9762ea90..3ecfd285e7 100644 --- a/changelogs/5.30.md +++ b/changelogs/5.30.md @@ -62,3 +62,12 @@ Consider using the `mcpe-protocol` directive in `plugin.yml` as a constraint if - Various internal classes in the `pocketmine\world\generator` namespace have been moved to the `generator\executor` namespace. - Removed `World->registerGenerator()` and `World->unregisterGenerator()`. - Removed redundant calls to `curl_close()` (obsolete since PHP 8.0). + +# 5.30.1 +Released 23rd June 2025. + +## Fixes +- Fixed accidental break of backwards compatability in `EntityExplodeEvent` introduced in the previous release. +- Fixed placement of player holding block when exploding respawn anchor. +- Updated BedrockProtocol to fix incorrect encoding of `ServerScriptDebugDrawerPacket`. +- Disabled client-side locator bar, allowing plugins to write their own implementations. diff --git a/composer.lock b/composer.lock index e8ca2f08d7..2967a967f9 100644 --- a/composer.lock +++ b/composer.lock @@ -256,16 +256,16 @@ }, { "name": "pocketmine/bedrock-protocol", - "version": "39.0.0+bedrock-1.21.90", + "version": "39.0.1+bedrock-1.21.90", "source": { "type": "git", "url": "https://github.com/pmmp/BedrockProtocol.git", - "reference": "2b088183d12fc003523400867ee398e3893899ed" + "reference": "fd231bad0d94024ff50169dc06e8c4fca5aa2eb3" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/pmmp/BedrockProtocol/zipball/2b088183d12fc003523400867ee398e3893899ed", - "reference": "2b088183d12fc003523400867ee398e3893899ed", + "url": "https://api.github.com/repos/pmmp/BedrockProtocol/zipball/fd231bad0d94024ff50169dc06e8c4fca5aa2eb3", + "reference": "fd231bad0d94024ff50169dc06e8c4fca5aa2eb3", "shasum": "" }, "require": { @@ -296,9 +296,9 @@ "description": "An implementation of the Minecraft: Bedrock Edition protocol in PHP", "support": { "issues": "https://github.com/pmmp/BedrockProtocol/issues", - "source": "https://github.com/pmmp/BedrockProtocol/tree/39.0.0+bedrock-1.21.90" + "source": "https://github.com/pmmp/BedrockProtocol/tree/39.0.1+bedrock-1.21.90" }, - "time": "2025-06-17T23:46:38+00:00" + "time": "2025-06-23T13:22:50+00:00" }, { "name": "pocketmine/binaryutils", @@ -1681,16 +1681,16 @@ }, { "name": "phpunit/phpunit", - "version": "10.5.46", + "version": "10.5.47", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/phpunit.git", - "reference": "8080be387a5be380dda48c6f41cee4a13aadab3d" + "reference": "3637b3e50d32ab3a0d1a33b3b6177169ec3d95a3" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/phpunit/zipball/8080be387a5be380dda48c6f41cee4a13aadab3d", - "reference": "8080be387a5be380dda48c6f41cee4a13aadab3d", + "url": "https://api.github.com/repos/sebastianbergmann/phpunit/zipball/3637b3e50d32ab3a0d1a33b3b6177169ec3d95a3", + "reference": "3637b3e50d32ab3a0d1a33b3b6177169ec3d95a3", "shasum": "" }, "require": { @@ -1762,7 +1762,7 @@ "support": { "issues": "https://github.com/sebastianbergmann/phpunit/issues", "security": "https://github.com/sebastianbergmann/phpunit/security/policy", - "source": "https://github.com/sebastianbergmann/phpunit/tree/10.5.46" + "source": "https://github.com/sebastianbergmann/phpunit/tree/10.5.47" }, "funding": [ { @@ -1786,7 +1786,7 @@ "type": "tidelift" } ], - "time": "2025-05-02T06:46:24+00:00" + "time": "2025-06-20T11:29:11+00:00" }, { "name": "sebastian/cli-parser", diff --git a/src/VersionInfo.php b/src/VersionInfo.php index e6b3239745..ee9effeb0c 100644 --- a/src/VersionInfo.php +++ b/src/VersionInfo.php @@ -32,7 +32,7 @@ use function str_repeat; final class VersionInfo{ public const NAME = "PocketMine-MP"; public const BASE_VERSION = "5.30.1"; - public const IS_DEVELOPMENT_BUILD = true; + public const IS_DEVELOPMENT_BUILD = false; public const BUILD_CHANNEL = "stable"; /** From e41551843598411e256f60e7f42f66f57d42f243 Mon Sep 17 00:00:00 2001 From: "pmmp-admin-bot[bot]" <188621379+pmmp-admin-bot[bot]@users.noreply.github.com> Date: Mon, 23 Jun 2025 20:31:58 +0000 Subject: [PATCH 4/4] 5.30.2 is next Commit created by: https://github.com/pmmp/RestrictedActions/actions/runs/15834488047 --- src/VersionInfo.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/VersionInfo.php b/src/VersionInfo.php index ee9effeb0c..cb4ee32ca7 100644 --- a/src/VersionInfo.php +++ b/src/VersionInfo.php @@ -31,8 +31,8 @@ use function str_repeat; final class VersionInfo{ public const NAME = "PocketMine-MP"; - public const BASE_VERSION = "5.30.1"; - public const IS_DEVELOPMENT_BUILD = false; + public const BASE_VERSION = "5.30.2"; + public const IS_DEVELOPMENT_BUILD = true; public const BUILD_CHANNEL = "stable"; /**