Change imports
This commit is contained in:
@@ -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", {
|
||||
|
||||
Reference in New Issue
Block a user