Seasons based on a calendar
This commit is contained in:
+1
-1
@@ -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);
|
||||
},
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user