New modding system
This commit is contained in:
+1
-2
@@ -5,10 +5,9 @@ const PORT = Number(Deno.env.get("PORT") ?? 8000);
|
||||
|
||||
let host: Host;
|
||||
try {
|
||||
host = start_host({
|
||||
host = await start_host({
|
||||
build_dir: Deno.env.get("BUILD_DIR") ?? "build",
|
||||
server_mods_dir: Deno.env.get("SERVER_MODS_DIR") ?? "server_mods",
|
||||
root: ".",
|
||||
world_file: Deno.env.get("WORLD_FILE") ?? "world.json",
|
||||
seed: Deno.env.get("SEED"),
|
||||
on_fatal(message) {
|
||||
|
||||
Reference in New Issue
Block a user