Rename glass block
This commit is contained in:
@@ -84,7 +84,7 @@ import { test_game } from "./helpers.ts";
|
||||
Deno.test("a hoe turns grass into farmland", async () => {
|
||||
const { game, join, send, take } = await test_game("mods");
|
||||
join(1, "alice");
|
||||
game.set_block(1, 100, 1, "bworld:grass");
|
||||
game.set_block(1, 100, 1, "bworld:grass_block");
|
||||
send(1, { type: "move", x: 2.5, y: 101, z: 2.5, yaw: 0, pitch: 0 });
|
||||
send(1, { type: "chat", text: "/give bworld:wood_hoe" });
|
||||
const inventory = take(1).filter((m) => m.type === "container" && m.container === "inventory").at(-1).items;
|
||||
|
||||
Reference in New Issue
Block a user