mirror of
https://github.com/oldminecraftcommunity/NostalgiaCore.git
synced 2026-11-21 03:59:43 +00:00
protocol 17
This commit is contained in:
parent
0aa9843458
commit
6b765abbe3
2 changed files with 2 additions and 2 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue