Skip to content
This repository was archived by the owner on Jun 3, 2024. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ public static void gatherAndInitializeMods() {
for (net.fabricmc.loader.api.ModContainer mod : FabricLoader.getInstance().getAllMods()) {
String modId = mod.getMetadata().getId();

CustomValue meta = mod.getMetadata().getCustomValue("patchwork:patcher_meta");
CustomValue meta = mod.getMetadata().getCustomValue("patchwork:patcherMeta");

if (meta != null && meta.getAsObject().get("parent") != null) {
// synthetic mods are unreliable; don't invoke their entrypoints here
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ private ModFileInfo getModFileByContainer(ModContainer modContainer) {
}

private ModFileInfo createModFileInfo(ModContainer modContainer) {
CvObject patcherMeta = modContainer.getMetadata().getCustomValue("patchwork:patcher_meta").getAsObject();
CvObject patcherMeta = modContainer.getMetadata().getCustomValue("patchwork:patcherMeta").getAsObject();
// First try to find a patchwork:annotations entry in the patcher metadata. If it exists, then this is the "primary" mod
// for a given JAR file.
CustomValue annotations = patcherMeta.get("annotations");
Expand Down