mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-04 18:41:51 +00:00
fix: on_player_tick not called
This commit is contained in:
parent
79f5ffc463
commit
17161e5981
1 changed files with 1 additions and 1 deletions
|
|
@ -83,7 +83,7 @@ void LevelController::update(float delta, bool pause) {
|
|||
playerTickClock.getPart()) {
|
||||
|
||||
const auto& position = player->getPosition();
|
||||
if (!player->chunks->get(
|
||||
if (player->chunks->get(
|
||||
std::floor(position.x),
|
||||
std::floor(position.y),
|
||||
std::floor(position.z)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue