Seasons based on a calendar

This commit is contained in:
2026-10-09 22:09:21 -03:00
parent 4d5700f0bf
commit 7fe9c15b67
12 changed files with 88 additions and 33 deletions
+1 -1
View File
@@ -93,7 +93,7 @@ const rules_world: SharedWorld = {
biome_at: (x, z) => client?.level.biome_at(Math.floor(x), Math.floor(z)),
season_at(x, z) {
const biome = this.biome_at(x, z);
return biome === undefined ? undefined : biome_season(biome);
return biome === undefined ? undefined : biome_season(biome, client!.level.time);
},
};