Block registry api
This commit is contained in:
@@ -20,7 +20,7 @@ const [center_x, center_z] = [Number(Deno.args[2] ?? 0), Number(Deno.args[3] ??
|
||||
|
||||
// the base game, from mods/bworld: its data registered like the game does, and its worldgen script for trees and the
|
||||
// rest of its features
|
||||
const bworld = load_and_check().find((mod) => mod.id === "bworld")!;
|
||||
const bworld = (await load_and_check()).find((mod) => mod.id === "bworld")!;
|
||||
const jsons = <T>(list: { json: T }[]) => list.map((entry) => entry.json);
|
||||
register_mod_data([{
|
||||
id: "bworld",
|
||||
|
||||
Reference in New Issue
Block a user