mirror of
https://github.com/geode-sdk/geode.git
synced 2025-03-28 13:52:07 -04:00
add back isAPI impl
This commit is contained in:
parent
f7bfa21e51
commit
0cfa4a42fe
1 changed files with 3 additions and 6 deletions
|
@ -97,8 +97,7 @@ Result<ModInfo> ModInfo::Impl::createFromSchemaV010(ModJson const& rawJson) {
|
|||
root.has("unloadable").into(impl->m_supportsUnloading);
|
||||
root.has("early-load").into(impl->m_needsEarlyLoad);
|
||||
if (root.has("api")) {
|
||||
// TODO: figure out what got wiped with merge
|
||||
// impl->isAPI = true;
|
||||
impl->m_isAPI = true;
|
||||
}
|
||||
|
||||
for (auto& dep : root.has("dependencies").iterate()) {
|
||||
|
@ -194,11 +193,9 @@ Result<ModInfo> ModInfo::Impl::create(ModJson const& json) {
|
|||
|
||||
return Err(
|
||||
"[mod.json] targets a version (" + schema.toString() +
|
||||
") that isn't "
|
||||
"supported by this version (v" +
|
||||
") that isn't supported by this version (v" +
|
||||
LOADER_VERSION_STR +
|
||||
") of geode. "
|
||||
"This is probably a bug; report it to "
|
||||
") of geode. This is probably a bug; report it to "
|
||||
"the Geode Development Team."
|
||||
);
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue