mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-05-16 18:59:00 +00:00
Fixed /time add message, chunk tick reset default
This commit is contained in:
parent
cbb1c55a06
commit
d0f743a99e
@ -128,7 +128,7 @@ class TimeCommand extends VanillaCommand{
|
||||
$level->setTime($level->getTime() + $value);
|
||||
$level->checkTime();
|
||||
}
|
||||
Command::broadcastCommandMessage($sender, new TranslationContainer("commands.time.add", [$value]));
|
||||
Command::broadcastCommandMessage($sender, new TranslationContainer("commands.time.added", [$value]));
|
||||
}else{
|
||||
$sender->sendMessage(new TranslationContainer("commands.generic.usage", [$this->usageMessage]));
|
||||
}
|
||||
|
@ -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();
|
||||
}
|
||||
|
@ -116,7 +116,7 @@ chunk-ticking:
|
||||
#Radius of chunks around a player to tick
|
||||
tick-radius: 3
|
||||
light-updates: false
|
||||
clear-tick-list: false
|
||||
clear-tick-list: true
|
||||
|
||||
chunk-generation:
|
||||
#Max. amount of chunks in the waiting queue to be generated
|
||||
|
Loading…
x
Reference in New Issue
Block a user