Rename bmod to just mod
This commit is contained in:
+2
-2
@@ -25,7 +25,7 @@ import {
|
||||
} from "@/common/mod_data.ts";
|
||||
import { json_object } from "@/common/schema.ts";
|
||||
import { check_references, load_order, type LoadedMod, type ModReport } from "@/common/mod_check.ts";
|
||||
import { png_size, texture_size_problem } from "@/common/bmod.ts";
|
||||
import { png_size, texture_size_problem } from "@/common/mod.ts";
|
||||
import { type TextureJson, validate_texture_json } from "@/common/texture_animation.ts";
|
||||
import { type LootTableJson, validate_loot_table } from "@/common/loot.ts";
|
||||
import { validate_biome } from "@/common/worldgen/biomes.ts";
|
||||
@@ -125,7 +125,7 @@ function load_mod(mods_dir: string, id: string): LoadedMod {
|
||||
error(`manifest.json: scripts.${side} ${path} doesn't exist`);
|
||||
}
|
||||
}
|
||||
// cubi/engine needs engine_access, it's checked again on the bundled code when a .bmod loads
|
||||
// cubi/engine needs engine_access, it's checked again on the bundled code when a .cubi loads
|
||||
if (mod.manifest?.engine_access !== true) {
|
||||
const folders = new Set(Object.values(scripts).filter((p) => typeof p === "string").map((p) => dirname(p)));
|
||||
for (const folder of folders) {
|
||||
|
||||
Reference in New Issue
Block a user