Scheduled ticks !!

This commit is contained in:
2026-10-20 13:50:35 -03:00
parent 77cd327f94
commit 1c2dcd0dbc
7 changed files with 444 additions and 1 deletions
+1 -1
View File
@@ -733,7 +733,7 @@ function fallback_caller(stack: string) {
return match ? `${match[1] ?? "?"} ${match[2]}` : outside;
}
function index_in_chunk(x: number, y: number, z: number, chunk_x: number, chunk_z: number) {
export function index_in_chunk(x: number, y: number, z: number, chunk_x: number, chunk_z: number) {
return y * CHUNK_AREA + (z - chunk_z * CHUNK_SIZE) * CHUNK_SIZE + (x - chunk_x * CHUNK_SIZE);
}