diff --git a/changelogs/5.30.md b/changelogs/5.30.md index 6e9762ea90..cc2ecbc1fe 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 compatibility 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 0e41348831..0fab680d67 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", diff --git a/src/VersionInfo.php b/src/VersionInfo.php index e6b3239745..cb4ee32ca7 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.30.1"; + public const BASE_VERSION = "5.30.2"; public const IS_DEVELOPMENT_BUILD = true; public const BUILD_CHANNEL = "stable"; 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)){ 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);