mirror of
https://github.com/oldminecraftcommunity/NostalgiaCore.git
synced 2026-11-20 19:49:44 +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;
|
||||
|
|
|
|||
|
|
@ -35,7 +35,7 @@ class Level{
|
|||
$this->nextSave += 90;
|
||||
$this->stopTime = false;
|
||||
$this->server->schedule(15, [$this, "checkThings"], [], true);
|
||||
$this->server->schedule(20 * 13, [$this, "checkTime"], [], true);
|
||||
$this->server->schedule(20 * 7, [$this, "checkTime"], [], true);
|
||||
$this->name = $name;
|
||||
$this->usedChunks = [];
|
||||
$this->changedBlocks = [];
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue