mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-04 18:41:51 +00:00
add that thing
This commit is contained in:
parent
957f9f5998
commit
922a86d2b0
2 changed files with 11 additions and 1 deletions
|
|
@ -163,7 +163,11 @@ bool ChunksController::buildLights(
|
|||
return false;
|
||||
}
|
||||
|
||||
#include "util/timeutil.hpp"
|
||||
|
||||
void ChunksController::createChunk(const Player& player, int x, int z) const {
|
||||
timeutil::ScopeLogTimer log(111);
|
||||
|
||||
if (!player.isLoadingChunks()) {
|
||||
if (auto chunk = level.chunks->fetch(x, z)) {
|
||||
player.chunks->putChunk(chunk);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue