Thanks to @GameHeroBrine

This commit is contained in:
yefengeeeeeeeeeee 2025-04-26 15:49:12 +08:00
parent fd23ba04ec
commit c8fc4139f8
36 changed files with 387 additions and 40 deletions

View file

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