1.20.40 changes (PM4)

This commit is contained in:
Dylan K. Taylor 2023-10-26 12:36:12 +01:00
parent edea793a98
commit 1aaaadb909
No known key found for this signature in database
GPG Key ID: 8927471A91CAFD3D
3 changed files with 24 additions and 24 deletions

View File

@ -34,10 +34,10 @@
"adhocore/json-comment": "~1.2.0", "adhocore/json-comment": "~1.2.0",
"fgrosse/phpasn1": "~2.5.0", "fgrosse/phpasn1": "~2.5.0",
"pocketmine/netresearch-jsonmapper": "~v4.2.1000", "pocketmine/netresearch-jsonmapper": "~v4.2.1000",
"pocketmine/bedrock-block-upgrade-schema": "~3.2.0+bedrock-1.20.30", "pocketmine/bedrock-block-upgrade-schema": "~3.3.0+bedrock-1.20.40",
"pocketmine/bedrock-data": "~2.5.0+bedrock-1.20.30", "pocketmine/bedrock-data": "~2.6.0+bedrock-1.20.40",
"pocketmine/bedrock-item-upgrade-schema": "~1.5.0+bedrock-1.20.30", "pocketmine/bedrock-item-upgrade-schema": "~1.5.0+bedrock-1.20.30",
"pocketmine/bedrock-protocol": "~24.0.0+bedrock-1.20.30", "pocketmine/bedrock-protocol": "~25.0.0+bedrock-1.20.40",
"pocketmine/binaryutils": "^0.2.1", "pocketmine/binaryutils": "^0.2.1",
"pocketmine/callback-validator": "^1.0.2", "pocketmine/callback-validator": "^1.0.2",
"pocketmine/classloader": "^0.2.0", "pocketmine/classloader": "^0.2.0",

38
composer.lock generated
View File

@ -4,7 +4,7 @@
"Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies",
"This file is @generated automatically" "This file is @generated automatically"
], ],
"content-hash": "4f353f6d6fedade4ebfa82aa34f9cb21", "content-hash": "ab3d7c1e3d9dfd8ff86584dcdba244a1",
"packages": [ "packages": [
{ {
"name": "adhocore/json-comment", "name": "adhocore/json-comment",
@ -198,16 +198,16 @@
}, },
{ {
"name": "pocketmine/bedrock-block-upgrade-schema", "name": "pocketmine/bedrock-block-upgrade-schema",
"version": "3.2.0", "version": "3.3.0",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/pmmp/BedrockBlockUpgradeSchema.git", "url": "https://github.com/pmmp/BedrockBlockUpgradeSchema.git",
"reference": "874e1c0c9b7b620744d08b59c78354fe9f028dfa" "reference": "ee46b9367af262bbddd9f122d4d5b5b495b892e7"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/pmmp/BedrockBlockUpgradeSchema/zipball/874e1c0c9b7b620744d08b59c78354fe9f028dfa", "url": "https://api.github.com/repos/pmmp/BedrockBlockUpgradeSchema/zipball/ee46b9367af262bbddd9f122d4d5b5b495b892e7",
"reference": "874e1c0c9b7b620744d08b59c78354fe9f028dfa", "reference": "ee46b9367af262bbddd9f122d4d5b5b495b892e7",
"shasum": "" "shasum": ""
}, },
"type": "library", "type": "library",
@ -218,22 +218,22 @@
"description": "Schemas describing how to upgrade saved block data in older Minecraft: Bedrock Edition world saves", "description": "Schemas describing how to upgrade saved block data in older Minecraft: Bedrock Edition world saves",
"support": { "support": {
"issues": "https://github.com/pmmp/BedrockBlockUpgradeSchema/issues", "issues": "https://github.com/pmmp/BedrockBlockUpgradeSchema/issues",
"source": "https://github.com/pmmp/BedrockBlockUpgradeSchema/tree/3.2.0" "source": "https://github.com/pmmp/BedrockBlockUpgradeSchema/tree/3.3.0"
}, },
"time": "2023-09-20T17:03:43+00:00" "time": "2023-10-16T16:11:02+00:00"
}, },
{ {
"name": "pocketmine/bedrock-data", "name": "pocketmine/bedrock-data",
"version": "2.5.1+bedrock-1.20.30", "version": "2.6.0+bedrock-1.20.40",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/pmmp/BedrockData.git", "url": "https://github.com/pmmp/BedrockData.git",
"reference": "8f9d96047a731c37b18b28c2bfcdfa2705bb303f" "reference": "37e780d28b470230bda3579b04cb50d406e3fbe6"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/pmmp/BedrockData/zipball/8f9d96047a731c37b18b28c2bfcdfa2705bb303f", "url": "https://api.github.com/repos/pmmp/BedrockData/zipball/37e780d28b470230bda3579b04cb50d406e3fbe6",
"reference": "8f9d96047a731c37b18b28c2bfcdfa2705bb303f", "reference": "37e780d28b470230bda3579b04cb50d406e3fbe6",
"shasum": "" "shasum": ""
}, },
"type": "library", "type": "library",
@ -244,9 +244,9 @@
"description": "Blobs of data generated from Minecraft: Bedrock Edition, used by PocketMine-MP", "description": "Blobs of data generated from Minecraft: Bedrock Edition, used by PocketMine-MP",
"support": { "support": {
"issues": "https://github.com/pmmp/BedrockData/issues", "issues": "https://github.com/pmmp/BedrockData/issues",
"source": "https://github.com/pmmp/BedrockData/tree/2.5.1+bedrock-1.20.30" "source": "https://github.com/pmmp/BedrockData/tree/bedrock-1.20.40"
}, },
"time": "2023-09-27T11:40:15+00:00" "time": "2023-10-26T10:39:13+00:00"
}, },
{ {
"name": "pocketmine/bedrock-item-upgrade-schema", "name": "pocketmine/bedrock-item-upgrade-schema",
@ -276,16 +276,16 @@
}, },
{ {
"name": "pocketmine/bedrock-protocol", "name": "pocketmine/bedrock-protocol",
"version": "24.0.0+bedrock-1.20.30", "version": "25.0.0+bedrock-1.20.40",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/pmmp/BedrockProtocol.git", "url": "https://github.com/pmmp/BedrockProtocol.git",
"reference": "38a516274aa6641b0da38011af35a5587fc87895" "reference": "69c36c96f6835e93fc278071aa2bb9829abe5cf8"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/pmmp/BedrockProtocol/zipball/38a516274aa6641b0da38011af35a5587fc87895", "url": "https://api.github.com/repos/pmmp/BedrockProtocol/zipball/69c36c96f6835e93fc278071aa2bb9829abe5cf8",
"reference": "38a516274aa6641b0da38011af35a5587fc87895", "reference": "69c36c96f6835e93fc278071aa2bb9829abe5cf8",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
@ -317,9 +317,9 @@
"description": "An implementation of the Minecraft: Bedrock Edition protocol in PHP", "description": "An implementation of the Minecraft: Bedrock Edition protocol in PHP",
"support": { "support": {
"issues": "https://github.com/pmmp/BedrockProtocol/issues", "issues": "https://github.com/pmmp/BedrockProtocol/issues",
"source": "https://github.com/pmmp/BedrockProtocol/tree/24.0.0+bedrock-1.20.30" "source": "https://github.com/pmmp/BedrockProtocol/tree/25.0.0+bedrock-1.20.40"
}, },
"time": "2023-09-20T16:57:53+00:00" "time": "2023-10-26T11:03:10+00:00"
}, },
{ {
"name": "pocketmine/binaryutils", "name": "pocketmine/binaryutils",

View File

@ -622,7 +622,7 @@ class NetworkSession{
public function disconnect(string $reason, bool $notify = true) : void{ public function disconnect(string $reason, bool $notify = true) : void{
$this->tryDisconnect(function() use ($reason, $notify) : void{ $this->tryDisconnect(function() use ($reason, $notify) : void{
if($notify){ if($notify){
$this->sendDataPacket(DisconnectPacket::create($reason)); $this->sendDataPacket(DisconnectPacket::create(0, $reason));
} }
if($this->player !== null){ if($this->player !== null){
$this->player->onPostDisconnect($reason, null); $this->player->onPostDisconnect($reason, null);
@ -647,7 +647,7 @@ class NetworkSession{
*/ */
public function onPlayerDestroyed(string $reason) : void{ public function onPlayerDestroyed(string $reason) : void{
$this->tryDisconnect(function() use ($reason) : void{ $this->tryDisconnect(function() use ($reason) : void{
$this->sendDataPacket(DisconnectPacket::create($reason)); $this->sendDataPacket(DisconnectPacket::create(0, $reason));
}, $reason); }, $reason);
} }