mirror of
https://github.com/oldminecraftcommunity/NostalgiaCore.git
synced 2026-11-21 12:09:43 +00:00
added chunk send delay into server.properties(min=0, default=5)
This commit is contained in:
parent
c150a46383
commit
07632377ac
4 changed files with 10 additions and 5 deletions
|
|
@ -491,7 +491,7 @@ class Player{
|
|||
}
|
||||
|
||||
if($this->isSleeping) ++$this->sleepingTime;
|
||||
if($this->chunkTicker++ > 5){
|
||||
if($this->chunkTicker++ > PocketMinecraftServer::$chukSendDelay){
|
||||
$this->getNextChunk($this->level);
|
||||
$this->chunkTicker = 0;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue