Level: Record a debug message when chunks are loaded without loaders

This commit is contained in:
Dylan K. Taylor 2019-02-03 16:24:10 +00:00
parent 791b4d8ef3
commit 0f92ec6d2a

View File

@ -2839,6 +2839,7 @@ class Level implements ChunkManager, Metadatable{
$loader->onChunkLoaded($chunk);
}
}else{
$this->server->getLogger()->debug("Newly loaded chunk $x $z has no loaders registered, will be unloaded at next available opportunity");
$this->unloadChunkRequest($x, $z);
}