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
@@ -3,12 +3,12 @@
// ticks blocks schedule ahead with ctx.world.schedule_tick: when and in what order they run, and that they last
import { assert, assertEquals } from "@std/assert";
import { ScheduledTicks } from "$/server/game/scheduled_ticks.ts";
import type { WorldSave } from "$/server/game/saves.ts";
import { ScheduledTicks } from "@/server/game/scheduled_ticks.ts";
import type { WorldSave } from "@/server/game/saves.ts";
import { copy_dir, stone_floor, test_game } from "./helpers.ts";
const SERVER_SCRIPT = `
import type { ServerContext } from "bworld/server";
import type { ServerContext } from "cubi/server";
export function setup(ctx: ServerContext) {
const log = (event: unknown[]) => ctx.storage.set("log", [...ctx.storage.get<unknown[]>("log") ?? [], event]);
ctx.components.register_block("testmod:clock", {