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