diff --git a/client/gui/credits_screen.ts b/client/gui/credits_screen.ts index 0cd055c..ee36c5a 100644 --- a/client/gui/credits_screen.ts +++ b/client/gui/credits_screen.ts @@ -73,7 +73,7 @@ export class CreditsScreen extends GuiScreen { } #sections() { - const sections = [{ heading: "bworld", text: AssetManager.instance.get("cubi:assets_text") ?? "" }]; + const sections = [{ heading: "cubi", text: AssetManager.instance.get("cubi:assets_text") ?? "" }]; for (const mod of mod_credits) { sections.push({ heading: `${mod.name} ${mod.version}`, text: mod.text }); } diff --git a/common/mod_data.ts b/common/mod_data.ts index a22e578..d62f5f6 100644 --- a/common/mod_data.ts +++ b/common/mod_data.ts @@ -43,7 +43,7 @@ import { export const FORMAT_VERSION = 1; export const NAMESPACE_PATTERN = /^[a-z0-9_]{1,32}$/; -export const RESERVED_NAMESPACES = ["bworld", "cubi"]; +export const RESERVED_NAMESPACES = ["cubi"]; // the namespace for tags every mod shares, like neoforge's. no mod owns it export const SHARED_TAG_NAMESPACE = "c"; export const TAG_REGISTRIES = ["blocks", "items", "entities", "biomes"] as const; diff --git a/server/game/game_server.ts b/server/game/game_server.ts index ca78cbe..7edcd81 100644 --- a/server/game/game_server.ts +++ b/server/game/game_server.ts @@ -276,7 +276,6 @@ export class GameServer { }); }, }); - this.mods.storage = upgrade_mod_storage(saved?.mod_storage ?? {}); if (save) this.world.use_saved_chunks(save.chunks); this.world.time = saved?.time ?? 0; this.#day = this.world.day; @@ -2503,17 +2502,6 @@ interface SavedLevelV4 extends Omit { }[]; } -// curios was a mod of its own before it became part of the base game: which container is each player's curios moves -// into the base game's storage -function upgrade_mod_storage(storage: Record>) { - const curios = storage.curios?.containers; - if (curios !== undefined && storage.bworld?.curios === undefined) { - (storage.bworld ??= {}).curios = curios; - delete storage.curios; - } - return storage; -} - function upgrade_v4_entities(entities: SavedLevelV4["entities"]): SavedEntity[] { return (entities ?? []).map((entity): SavedItemEntity => ({ id: ITEM_ENTITY_TYPE,