Change imports

This commit is contained in:
2026-11-04 21:51:26 -03:00
parent 98fa45ebd1
commit ba4b2a8798
270 changed files with 994 additions and 994 deletions
+3 -3
View File
@@ -4,13 +4,13 @@
// what machines do to the world through server scripts: read which way water flows, find items lying around and
// change them, push things, break blocks over time, and use items on blocks like a player would
import { assert, assertEquals, assertThrows } from "@std/assert";
import type { ServerContext } from "bworld/server";
import { AIR_ID } from "$/common/protocol.ts";
import type { ServerContext } from "cubi/server";
import { AIR_ID } from "@/common/protocol.ts";
import { copy_dir, stone_floor, test_game } from "./helpers.ts";
// hands the test its context, and has a block that says who right clicked it and an item that gives a stick when used
const SERVER_SCRIPT = `
import type { ServerContext } from "bworld/server";
import type { ServerContext } from "cubi/server";
export function setup(ctx: ServerContext) {
(globalThis as any).machines_ctx = ctx;
ctx.components.register_block("testmod:button", {