More changes, im going to bed

This commit is contained in:
2026-11-06 00:17:27 -03:00
parent 9bec0f3718
commit 7458a2d42a
13 changed files with 35 additions and 53 deletions
+1
View File
@@ -276,6 +276,7 @@ export class GameServer {
});
},
});
this.mods.storage = saved?.mod_storage ?? {};
if (save) this.world.use_saved_chunks(save.chunks);
this.world.time = saved?.time ?? 0;
this.#day = this.world.day;
+1 -1
View File
@@ -241,7 +241,7 @@ export class ServerWorld {
}
// like "bworld:plains", what generation decided
// a column's biome without generating its chunk, a little off near coasts and cliffs, see OverworldTerrain
// a column's biome without generating its chunk, a little off near coasts and cliffs, see NoiseTerrain
estimate_biome(x: number, z: number): { biome: string; y: number } {
return this.worldgen.generator.for_seed(this.seed).estimate_biome(x, z);
}