Dimension api

This commit is contained in:
2026-11-05 23:34:43 -03:00
parent 34f001285d
commit 4766c9a808
14 changed files with 251 additions and 27 deletions
+2 -2
View File
@@ -103,10 +103,10 @@ Deno.test("a biome rule that looks at a climate value the noise settings don't h
}
});
Deno.test("without a generator the server doesn't start", async () => {
Deno.test("without a dimension to play the server doesn't start", async () => {
const dir = with_mod("lonely", {}, false);
try {
await assertRejects(() => test_game(dir), Error, "there's no generator bworld:overworld");
await assertRejects(() => test_game(dir), Error, "no mod has a default dimension");
} finally {
Deno.removeSync(dir, { recursive: true });
}