Scheduled ticks !!
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user