Rename engine to cubi
This commit is contained in:
@@ -38,8 +38,8 @@ Deno.test("new players spawn on dry land, all in the same place", async () => {
|
||||
const joined = join(1, "alice");
|
||||
const { x, y, z } = joined.spawn;
|
||||
const ground = game.world.get_block_id(Math.floor(x), y - 1, Math.floor(z));
|
||||
assert(ground !== "bworld:air" && ground !== "bworld:water", `spawned on ${ground}`);
|
||||
assertEquals(game.world.get_block_id(Math.floor(x), y, Math.floor(z)), "bworld:air");
|
||||
assert(ground !== "cubi:air" && ground !== "bworld:water", `spawned on ${ground}`);
|
||||
assertEquals(game.world.get_block_id(Math.floor(x), y, Math.floor(z)), "cubi:air");
|
||||
assert(y > SEA_LEVEL, "above the sea");
|
||||
|
||||
// the same place for the next new player
|
||||
|
||||
Reference in New Issue
Block a user