add relative time

This commit is contained in:
Sen 2025-08-03 16:45:14 +02:00
parent 83082f4f3c
commit 2f9e7ba728
Signed by: sen
GPG key ID: 3AC50A6F47D1B722
7 changed files with 57 additions and 30 deletions

View file

@ -285,6 +285,7 @@ public class Client implements IThreadListener {
private final class WorldClient extends World {
public WorldClient(Dimension dim) {
super(dim, true);
this.daytime = dim.getTimeOffset();
this.calculateInitialSkylight();
this.calculateInitialWeather();
this.updatePhysics();