Merge branch 'main' into vcm-bones

This commit is contained in:
MihailRis 2026-01-17 19:35:48 +03:00
commit 01ddb0bfba

View file

@ -41,7 +41,9 @@ static void on_chunk_register_event(
if ((bits & 0x80) == 0) {
const auto& def = indices.blocks.require(id);
bits = get_events_bits(def);
flagsCache[id] = bits | 0x80;
if (id < sizeof(flagsCache)) {
flagsCache[id] = bits | 0x80;
}
}
bits &= 0x7F;
if (bits == 0) {