protocol 17

This commit is contained in:
GameHerobrine 2023-07-02 07:45:29 +03:00
parent 0aa9843458
commit 6b765abbe3
2 changed files with 2 additions and 2 deletions

View file

@ -1314,7 +1314,7 @@ class Player{
$this->close("server is full!", false);
return;
}
if($packet->protocol1 !== ProtocolInfo::CURRENT_PROTOCOL){
if($packet->protocol1 !== 17 && $packet->protocol1 !== ProtocolInfo::CURRENT_PROTOCOL){
if($packet->protocol1 < ProtocolInfo::CURRENT_PROTOCOL){
$pk = new LoginStatusPacket;
$pk->status = 1;