mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-04-21 08:17:34 +00:00
Updated to pmmp/BedrockProtocol@146498c279
This commit is contained in:
parent
f6480017ce
commit
c3768b997a
8
composer.lock
generated
8
composer.lock
generated
@ -253,12 +253,12 @@
|
||||
"source": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/pmmp/BedrockProtocol.git",
|
||||
"reference": "c8d891b4dff9817d5fcd373dfec0608b20be3b0a"
|
||||
"reference": "146498c279b3dc645ab6b8cdf45f7b96d8a33f8b"
|
||||
},
|
||||
"dist": {
|
||||
"type": "zip",
|
||||
"url": "https://api.github.com/repos/pmmp/BedrockProtocol/zipball/c8d891b4dff9817d5fcd373dfec0608b20be3b0a",
|
||||
"reference": "c8d891b4dff9817d5fcd373dfec0608b20be3b0a",
|
||||
"url": "https://api.github.com/repos/pmmp/BedrockProtocol/zipball/146498c279b3dc645ab6b8cdf45f7b96d8a33f8b",
|
||||
"reference": "146498c279b3dc645ab6b8cdf45f7b96d8a33f8b",
|
||||
"shasum": ""
|
||||
},
|
||||
"require": {
|
||||
@ -293,7 +293,7 @@
|
||||
"issues": "https://github.com/pmmp/BedrockProtocol/issues",
|
||||
"source": "https://github.com/pmmp/BedrockProtocol/tree/master"
|
||||
},
|
||||
"time": "2021-10-29T20:54:42+00:00"
|
||||
"time": "2021-11-01T15:46:55+00:00"
|
||||
},
|
||||
{
|
||||
"name": "pocketmine/binaryutils",
|
||||
|
@ -348,6 +348,10 @@ class NetworkSession{
|
||||
|
||||
try{
|
||||
foreach($stream->getPackets($this->packetPool, $this->packetSerializerContext, 500) as [$packet, $buffer]){
|
||||
if($packet === null){
|
||||
$this->logger->debug("Unknown packet: " . base64_encode($buffer));
|
||||
throw new PacketHandlingException("Unknown packet received");
|
||||
}
|
||||
try{
|
||||
$this->handleDataPacket($packet, $buffer);
|
||||
}catch(PacketHandlingException $e){
|
||||
|
Loading…
x
Reference in New Issue
Block a user