Stored Program Controls 0.3.2 (1.21.1)
Curse Maven Snippet
What's new
Stored Program Controls - Changelog
=====================================
Version 0.3.2 — Addon Book Injection Fix
----------------------------------------
### Bug Fixes
- Fixed a silent API regression in 1.21.1 / NeoForge where every addon-
registered guide book category and entry was discarded before reaching
Patchouli. `SpcAddonBookPack.getMetadataSection(...)` returned null
unconditionally, which caused `Pack.readMetaAndCreate(...)` to log
"Missing metadata in pack spc_addon_book_content" and drop the pack
before it was ever added to the resource repository. The method now
parses the same mcmeta served by `getRootResource("pack.mcmeta")` and
returns the requested `MetadataSectionSerializer` section, so addon
content registered via `SpcGuideBookRegistry` is now served correctly.
Discovered while testing 1.1.6 API against third-party addons.
This mod has no additional files

