Dimension api
This commit is contained in:
@@ -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 });
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user