Fixed /time add message, chunk tick reset default

This commit is contained in:
Shoghi Cervantes
2015-06-07 20:15:30 +02:00
parent cbb1c55a06
commit d0f743a99e
3 changed files with 3 additions and 6 deletions

View File

@ -344,7 +344,7 @@ class Level implements ChunkManager, Metadatable{
$this->chunkGenerationQueueSize = (int) $this->server->getProperty("chunk-generation.queue-size", 8);
$this->chunkPopulationQueueSize = (int) $this->server->getProperty("chunk-generation.population-queue-size", 2);
$this->chunkTickList = [];
$this->clearChunksOnTick = (bool) $this->server->getProperty("chunk-ticking.clear-tick-list", false);
$this->clearChunksOnTick = (bool) $this->server->getProperty("chunk-ticking.clear-tick-list", true);
$this->cacheChunks = (bool) $this->server->getProperty("chunk-sending.cache-chunks", false);
$this->timings = new LevelTimings($this);
@ -847,9 +847,6 @@ class Level implements ChunkManager, Metadatable{
unset($this->chunkTickList[$index]);
}
foreach($chunk->getEntities() as $entity){
$entity->scheduleUpdate();
}