Change imports
This commit is contained in:
+4
-4
@@ -3,7 +3,7 @@
|
||||
|
||||
// the server's loot tables: rolling them (see common/loot.ts) with the conditions, functions and modifiers mods
|
||||
// register through ctx.loot. what a mod's code throws is logged under it and the roll carries on without it
|
||||
import { EverythingRegistry, type ItemRegistry } from "$/common/everything_registry.ts";
|
||||
import { EverythingRegistry, type ItemRegistry } from "@/common/everything_registry.ts";
|
||||
import {
|
||||
loot_references,
|
||||
type LootCondition,
|
||||
@@ -14,9 +14,9 @@ import {
|
||||
type LootTableJson,
|
||||
roll_loot,
|
||||
validate_loot_table,
|
||||
} from "$/common/loot.ts";
|
||||
import type { ItemStack, LootContext, LootParams } from "$/common/mod_api/server.ts";
|
||||
import { ModLoadError } from "$/common/mod_loader.ts";
|
||||
} from "@/common/loot.ts";
|
||||
import type { ItemStack, LootContext, LootParams } from "@/common/mod_api/server.ts";
|
||||
import { ModLoadError } from "@/common/mod_loader.ts";
|
||||
import { run_guarded } from "./mod_runtime.ts";
|
||||
|
||||
type Modifier = (items: ItemStack[], context: LootContext, table: string) => ItemStack[] | void;
|
||||
|
||||
Reference in New Issue
Block a user