mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-07-07 10:31:51 +00:00
Fixed merge error
This commit is contained in:
parent
0e0f5e85eb
commit
42df1a5c70
@ -33,6 +33,7 @@ use pocketmine\network\mcpe\JwtException;
|
|||||||
use pocketmine\network\mcpe\JwtUtils;
|
use pocketmine\network\mcpe\JwtUtils;
|
||||||
use pocketmine\network\mcpe\NetworkSession;
|
use pocketmine\network\mcpe\NetworkSession;
|
||||||
use pocketmine\network\mcpe\protocol\LoginPacket;
|
use pocketmine\network\mcpe\protocol\LoginPacket;
|
||||||
|
use pocketmine\network\mcpe\protocol\PlayStatusPacket;
|
||||||
use pocketmine\network\mcpe\protocol\ProtocolInfo;
|
use pocketmine\network\mcpe\protocol\ProtocolInfo;
|
||||||
use pocketmine\network\mcpe\protocol\types\login\AuthenticationData;
|
use pocketmine\network\mcpe\protocol\types\login\AuthenticationData;
|
||||||
use pocketmine\network\mcpe\protocol\types\login\ClientData;
|
use pocketmine\network\mcpe\protocol\types\login\ClientData;
|
||||||
@ -92,8 +93,8 @@ class LoginPacketHandler extends PacketHandler{
|
|||||||
|
|
||||||
//This pocketmine disconnect message will only be seen by the console (PlayStatusPacket causes the messages to be shown for the client)
|
//This pocketmine disconnect message will only be seen by the console (PlayStatusPacket causes the messages to be shown for the client)
|
||||||
$this->session->disconnect(
|
$this->session->disconnect(
|
||||||
$this->server->getLanguage()->translate(KnownTranslationFactory::pocketmine_disconnect_incompatibleProtocol("$packet->protocol (< v1.19.62)")),
|
KnownTranslationFactory::pocketmine_disconnect_incompatibleProtocol("$packet->protocol (< v1.19.62)"),
|
||||||
false
|
notify: false
|
||||||
);
|
);
|
||||||
|
|
||||||
return true;
|
return true;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user