fix: EVT_CHUNK_HIDDEN not triggered
This commit is contained in:
parent
7b0db7b660
commit
6dc73646f0
@ -38,6 +38,7 @@ Chunks::Chunks(
|
|||||||
areaMap.setCenter(ox-w/2, oz-d/2);
|
areaMap.setCenter(ox-w/2, oz-d/2);
|
||||||
areaMap.setOutCallback([this](int, int, const auto& chunk) {
|
areaMap.setOutCallback([this](int, int, const auto& chunk) {
|
||||||
save(chunk.get());
|
save(chunk.get());
|
||||||
|
this->level->events->trigger(EVT_CHUNK_HIDDEN, chunk.get());
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user