Day night cycle

This commit is contained in:
2026-09-26 11:03:07 -03:00
parent 8f32a59bd6
commit 8b549162c4
16 changed files with 244 additions and 6 deletions
+1
View File
@@ -53,6 +53,7 @@ export class Client {
this.#on_disconnect = on_disconnect;
this.level = new ClientLevel(connection.seed);
this.level.time = connection.time;
for (const [x, y, z, id, state] of connection.initial_changes) {
this.level.record_change(x, y, z, id, state);
}